[plug] setup issues

James Bromberger james at rcpt.to
Sun Apr 29 10:06:53 WST 2001


On Sat, Apr 28, 2001 at 06:06:31PM +0800, Jon  Miller wrote:
> Setting up a Debian server (first time by myself) and I need some assistance in setting up the server to:
> 1) auto dial the ISP on boot up

Look at /etc/ppp/ppp-on-boot. If the file exists, then ppp will dial the 
"provider" peer on boot.

> 2) setup the proxy

Install squid, then ACL allow the local network address. If you have an 
internal private network, something like 10.0.0.0/255.0.0.0 should be OK 
(given your're using the 10 reserved network, substitute others as needed: 
there are three sets of private addresses that can be used for your 
private networkl I prefer using 10.0.0.0/255.0.0.0 because there is gobs of 
space, you can subnet on byte boundaries, and the zeros look 'neat' compared 
to 192.... etc).

> 3) allow users on the internal network to forward e-mail using (Postfix and 
> IMAP and SNMP installed).

Install sendmail. Set sendmail to forward mail to an internal mail host. 
You'll find that sendmail.cf is ugly. Read the m4 syntax for generating 
sendmail.cf. It's much easier.  This is assuming you have a mail host on 
the inside of your network, and all you want to do is pass it in and out. 



> 4) users cannot web browse from their desktop.

Don't enable NAT (Network Address Translation/IP Masquerading).  Is this 
in contrast to (2) above? 

When you are done, use nmap(1) to scan the internal and external interfaces, 
for both tcp (the default) and udp (-sU) daemons. Apt-get install nmap.

> Just need to be pointed in the right direction or document.

Try doing 'apt-get install doc-linux-html'. Then read /usr/share/doc/HOWTO/.
Lots of good stuff in here. ;)


  James

-- 
 James Bromberger <james_AT_rcpt.to> www.rcpt.to/~james

       * *  C u in Bordeaux - 1st Debian Conference, July 2001 * * 
 Remainder moved to http://www.rcpt.to/~james/james/sig.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20010429/1bed294a/attachment.pgp>


More information about the plug mailing list