forwarding local ports
Mortals at seznam.cz
Fri Mar 16 19:41:52 CET 2007
I want forward local ports to remote server, for example:
for `telnet localhost 80` must answer webserver from remote IP
I have this rule:
iptables -t nat -A OUTPUT -p TCP -d 127.0.0.1 --dport 80 -j DNAT --to 192.168.0.254:80
but doesnt work.
of course i have support of routing, iptables and nat in kernel
Im sure that rule is right and in kernel 2.4 works.
Is problem in 2.6 or where?
More information about the netfilter