Re: LINUX IP Routing

2003-10-02 Thread Antonio Montagnani
[EMAIL PROTECTED] wrote: Hi, I need to setup IP routing and a Firewall very quickly on LINUX. Unfortunately I've never done this before on LINUX. Does anybody have any really simple instructions or can they offer any advice. My internal network (corporate LAN) is on the 10.1.30.x to 10.1.32.x

Re: LINUX IP Routing

2003-10-02 Thread Sasa Stupar
[EMAIL PROTECTED] wrote: Hi, I need to setup IP routing and a Firewall very quickly on LINUX. Unfortunately I've never done this before on LINUX. Does anybody have any really simple instructions or can they offer any advice. My internal network (corporate LAN) is on the 10.1.30.x to 10.1.32.x

RE: LINUX IP Routing

2003-10-02 Thread pwallett
modprobe iptable_nat iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE /sbin/service iptables save echo 1 /proc/sys/net/ipv4/ip_forward Make sure you have a default route ip route add default dev ppp0 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]