I have a debian server ip address 10.0.59.201 with minimal IPTABLES (dns, ping, ssh)
I have a Mikrotik fw that has a Public IP range 184.108.40.206/24
I want to expose this private local server to the internet and have inbound outbound traffic go thru a single IP (220.127.116.11).
chain=srcnat action=src-nat to-addresses=18.104.22.168 src-address=10.0.59.201 out-interface=ether7
chain=dstnat action=dst-nat to-addresses=10.0.59.201 dst-address=22.214.171.124
I can't ping 126.96.36.199 or access ssh. From the vm server I can ping IP's. but not dns names.
I obviously am missing something but not sure what. Total noob at this.
Ultimate goal is to no longer assign Internet accessible IP's directly to my vm server interfaces and have to worry about renumbering 100's of ip's by going to each server. Want instead to have the Mikrotik FW to have the publicly accessible IP and redirect to an internal vm that has an IP address in the 10.0.59.x range. The vm's will have their own firewalls as well, just want the fw to act as a switchboard and if I have to renumber my pulblic IP's I would just have to do a replace on all files in the mikrotik instead of having to go to each VM.