Hi
I am having some problems, I have a small home network of several PC’s, a web server and a game server. I have my nat rules bellow. The problem is that people inside the home (behind the Mikrotik) can’t access the game server Atlas5.
I think it is to do with the hairpin code. We can access it from outside the home. How can I give people outside access and also people inside while keeping the web server running?
/ip firewall nat
add action=src-nat chain=srcnat comment="Source NAT all interfaces on the way out" log-prefix="Atls5 SrcNAT: " out-interface=pppoe-out1 to-addresses=x.x.x.x
add action=masquerade chain=srcnat comment="defconf: masquerade" disabled=yes out-interface=pppoe-out1
add action=dst-nat chain=dstnat comment="Atlas5 Server" dst-address=x.x.x.x dst-port=57550-57570 in-interface=pppoe-out1 log-prefix="Atlas5 Query Port: " protocol=tcp to-addresses=192.168.88.18 to-ports=57550-57570
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=57550-57570 in-interface=pppoe-out1 log-prefix="Atlas5 Query Port UDP: " protocol=udp to-addresses=192.168.88.18 to-ports=57550-57570
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=5750-5770 in-interface=pppoe-out1 log-prefix="Atlas5 Game Port: " protocol=tcp to-addresses=192.168.88.18 to-ports=5750-5770
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=5750-5770 in-interface=pppoe-out1 log-prefix="Atlas5 Game Port UDP: " protocol=udp to-addresses=192.168.88.18 to-ports=5750-5770
add action=dst-nat chain=dstnat comment="Tortuga Server" dst-address=x.x.x.x dst-port=22 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.88.67 to-ports=22
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=80 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.88.67 to-ports=80
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=443 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.88.67 to-ports=443
add action=dst-nat chain=dstnat comment=" Hairpin to Nibiru" dst-address=!192.168.88.0/24 dst-address-type=local to-addresses=192.168.88.67
add action=dst-nat chain=dstnat disabled=yes dst-address=!192.168.88.0/24 dst-address-type=local port=57550-57570 protocol=tcp to-addresses=192.168.88.18
add action=masquerade chain=srcnat comment=" Local to Local NAT" src-address=192.168.88.0/24