I
I
Ilya Plotnikov2012-08-15 14:56:34
iptables
Ilya Plotnikov, 2012-08-15 14:56:34

Rinetd and translation of real ip. Is it possible to?

In general, I want to see the connected ip on the computer for which the port is forwarded.
With the help of iptables, something did not work out.
Please tell me how to forward ports without masking ip.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivnik, 2012-08-15
@ilyaplot

Using iptables/DNAT should help you:

# iptables -t nat -A PREROUTING -d x.x.x.x -j DNAT --to-destination y.y.y.y

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question