I am a friend of Xeross, and we are working together on this problem.
Let me explain it a bit better:
We currently have this network layout:
http://images.tzxtech.net/network.png
I know it isn't very wise to connect servers with WiFi, but this was the only way.
We have forwarded every port in the LinkSys router to the TZXS01 server. This is the server we want to configure.
We have port 7711 listening on TZXS02, so we want to direct incoming trafic on port 7711 to 192.168.1.201:7711.
Problem is, we only got one network interface: wlan0.
We have tried to do this with iptables, but it didn't work out.
here is current iptables config:
Code:
root@TZXS01:~# iptables -L ; iptables -t nat -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere 535697DF.cable.casema.nl tcp dpt:7711 to:192.168.1.201:7711
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT tcp -- 192.168.1.201 anywhere tcp spt:7711 to:83.86.151.223:7711
Chain OUTPUT (policy ACCEPT)
target prot opt source destination