Re: Redirecting a Pre-existing SSH Session

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

 



On Tuesday 2010-07-06 13:28, Wade Gasior wrote:

>At a point in time, I want to forward all incoming traffic to be
>served by .160 instead.
>I have accomplished this using these commands (on .150):
>
>iptables -t nat -A PREROUTING -j DNAT --to 192.168.1.160
>iptables -t nat -I POSTROUTING -j MASQUERADE

That isn't forwarding, it's address rewriting.

--
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