[ale] port forwarding help
Michael D. Hirsch
mhirsch at nubridges.com
Thu Apr 3 15:20:31 EST 2003
This seems simple, but I've been thumping my head against if for a while
now. All I want to do is forward anything to port xx to machine y.y.y.y.
>From reading docs it looks like all I need this:
iptables -t nat -A PREROUTING -p tcp --dport xx -j DNAT --to y.y.y.y:xx
I have made sure that port forwarding is turned on.
I test by telnetting to port xx on the forwarding box, but never get a
connection.
One other possible complication, do I need to worry that I have only 1 nic
card? So on my test box all the traffic is really on one network. In
production, of course, I will use multiple network cards.
Thanks,
Michael
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list