I have been struggling for a while now and can't seem to get this right.We have a server on the internet call it IRE We have a second server behind a linux network we Call it PULwe have a external IP xxx.xxx.xxx.118 where PUL is located the internal IP of the server PUL is 192.168.0.178we want to connect to the SQL on PUL from IREI have added the following rules to the iptables (ubuntu server)iptables -A PREROUTING -t nat -i eth0:1 -p tcp --dport 15433 -j DNAT --to 192.168.0.187:15433 iptables -A INPUT -p tcp -m state --state NEW --dport 15433 -i eth0:1 -j ACCEPTI deleted but also tried adding -d xxx.xxx.xxx.118 to resolve but nothing i add or change allow's IRE to see the database of PUL.what steps can I take to get the server of IRE to see PUL?
Nat iptables trying to access sql server behind a linux network
iptables;nat