How do I set up iptables on LM8.0?

I want to allow my main box to share an internet connection with a second 
machine. I thought ipmasquerading was the way to go.

I was following these instructions:

modprobe ip_tables
iptables -F
iptables -t nat -F
iptables -t nat -A POSTROUTING -s 192.168.1.11 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

These went well. No errors. But once this was done, when I opened up an 
xterm window, the window froze. No command prompt--just a white box in the 
upper left corner.

Couldn't shut down properly either. Even tried to use ctrl + alt + F1 to 
get to a useable command line, but I couldn't log in.

Any suggestions?

-Rich-

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to