[ale] port forwarding help
Chris Fowler
cfowler at outpostsentinel.com
Thu Apr 3 15:22:21 EST 2003
You need to specify the interface name and you need to be on the outside
when you do your test.
I've tried what you are doing and I did not have much success with it.
It only began to work when I actually was forwarding between 2 network
interfaces.
On Thu, 2003-04-03 at 15:20, Michael D. Hirsch wrote:
> 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
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list