Hi,

Some simple commands to be executed to _just_ get it working. No firewalling or 
whatsoever.

iptables -t nat -A POSTROUTING -j MASQUERADE
iptables --policy FORWARD ACCEPT
echo "1">/proc/sys/net/ipv4/ip_forward

A long time ago (Sat, Mar 31, 2001 at 12:12:34AM +1000), in a galaxy far far away, 
Phillipus Gunawan wrote :
> Greetings. My name is Phillipus, I'm an university student in Sydney. I read a 
>documentation in minHowTo on Redhat website about sharing Internet.
> 
> I just upgrade my kernel to 2.4.2 and realized that the kernel has change the 
>iphains into iptables.
> 
> I tried to replace everything with 'ipchains' to 'iptables' according to the 
>documentations in website, and test it with: 'iptables -L -n' in the terminal. But 
>the result is, nothing happen... Isn't should give me list all the share 'port' to 
>the right address (e.g. 192.168.1. )
> 
> I'm using ordinary dial-up internet (ISP) and one NIC (eth0)
> 
> Can you tell me which part should I replace to make the Masquerading works fine with 
>iptables? and is it possible to test the internet sharing from the Linux box it self?
> 
> I hope that you could help me to improve my knowledge in the Linux Box Worlds... :)
> 
> Best Regards,
> 
> 
> Phillipus.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to