Answer the question
In order to leave comments, you need to log in
How to change the destination address using iptables?
The network
has a Windows Server2008 ip: 10.0.0.10
Windows workstation ip: 10.0.0.2
Linux Internet Gateway ip1
: 10.0.0.1 :13389, the connection was redirected to the server 10.0.0.10:3389 (that is, the destination address was spoofed).
Is such a configuration possible and how can it be done?
Answer the question
In order to leave comments, you need to log in
I suppose, on the gateway 10.0.0.1, do something like this:
Don't forget to also enable FORWARD, load the iptable_nat module and enable the /proc/sys/net/ipv4/ip_forward parameter in the kernel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question