Re: Ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Mike a écrit :
I am trying to port forward ssh portX to portY on same box

iptables -t nat -A PREROUTING -p tcp --dport portX -j DNAT --to :portY

NAT in the PREROUTING chain does not work for the loopback interface. Use the OUTPUT chain instead.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux