Hello all, got kinda problem. Have two machines in LAN, one of them connected to Internet directly, another one must be forwarded through the first one. Masquerading works perfectly, but is not what is needed here. Both machines have public IP addresses, when the second machine is forwarded its public IP must be shown, no masquerading. Google does not show anything useful, most of results are about NAT. It seems to be something about iptables, not anything else. Something like
iptables -A FORWARD -j ACCEPT
doesn't work, at least no ping goes then. So here is the question: what exactly should I write to make the correct forwarding possible? Forwarding with public IP and no SNAT/MASQUERADING.
Thanks in advance.
---
Solved. Seems to be ISP-specific thing.