[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Re: Firewall Stuff



> I'm thinking that .......
>
> "ipchains -A input -i $ippp0 -s $zetnet.co.uk \
> $194.247.47.47 -j ACCEPT
> ipchains -A output -i $ippp0 -s $zetnet.co.uk \
> $194.247.47.47 -j ACCEPT
>
> might work

Doubt it ;) You seem to have a fixation on prefixing things with '$'??

> but somewhere I need to put some port numbers for web pages
> and e-mail.  As well as ftp.  Then again I might use $DNS1
> xxx.xxx.xx.xx  $DNS2 xx.x.x.xx instead ?   So a port number for web
> pages would be......

cat /etc/services | grep 'thing-to-search-for'

i.e., www, ftp, ssh, etc...

> ipchains -A input -s 0/0 3128 -j accept
>
> for web pages

Only if you're going through a proxy. Other ports are 80, 8080 and 443 (I
think).

Cheers,

Alex.

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.