[LUNI] Re: Port forwrading help?
David Gibbs
david at midrange.com
Sat Dec 23 16:11:03 CST 2006
David Gibbs wrote:
> I found some references to using iptables to forward traffic ... but I
> haven't been able to make it work. Parms mentioned in the document
> aren't valid on my version of iptables.
Ok, I got the iptables command to be accepted ... but it doesn't seem to
have any effect.
The iptables command I'm issuing is:
iptables -t nat -A PREROUTING --dst x.x.x.28 -p tcp --dport 80 -j DNAT
--to-destination x.x.x.28:5222
If I telnet into port 5222 I get the correct result .. if I telnet into
port 80 I get a connection refused.
david
More information about the luni
mailing list