iptables

gbell72 gbell72-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sat Nov 8 18:27:49 UTC 2003


I've since changed my rules around slightly and the conenction is making an
attempt but it just hangs, after running /etc/rc.d/rc.firewall restart I got
Configuring firewall for router...
Bad argument `eth1'

the rules I made this time are:

iptables -A FORWARD -i eth1 -o eth0 -p tcp --dport 8888 -m state --state
NEW,ESTABLISHED,RELATED -j ACCEPT

iptables -A PREROUTING -t nat -p tcp eth1 --dport 8888 -j DNAT --to-dest
192.168.0.66:8888
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list