Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

ipchains



On Fri, 20 Aug 1999, Anthony J. Gabrielson wrote:

> Hello,
> 	I was wondering if somebody could just give a few rules to get NAT
> up and running without to much effort.  I would like to just get a few
> rules that work, and refine from there.  I am in the process of reading
> the howto - and would like to get off to a quicker start.

>From the IPCHAINS howto:

3.1 Rusty's Three-Line Guide To Masquerading 

This assumes that your external interface is called `ppp0'. Use ifconfig
to find out, and adjust to taste. 

      # ipchains -P forward DENY
      # ipchains -A forward -i ppp0 -j MASQ
      # echo 1 > /proc/sys/net/ipv4/ip_forward




Derek D. Martin   |  UNIX System Administrator
derek at netria.com  |  dmartin at lancity.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org