iptables

gbell72 gbell72-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sat Nov 8 04:23:55 UTC 2003


Evening

I'm trying to forward a port to one of my internal machines from the router so
someone can connect to one of my servers but it doesn't seem to work so far.
The rules I gave to do this are as folows:

iptables -t nat -A PREROUTING -p tcp -i eth0 -d 192.168.0.1 --dport 8888 -j dnat
--to 192.168.0.66:8888

and

iptables -A FORWARD -p tcp -i eth0 -d 192.168.0.66 --dport 8888 -j ACCEPT

I'm using coyote linux firewall and figured it to be as easy as forwarding a
port but no luck.

thanks

Gardner
--
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