Good evening, all!
I have a small home network, maybe 10 nodes, on a RouterBOARD 750G r3. I have a couple of Ark: Survival Evolved server instances running on a desktop in my network. These are running on a number of ports which I have forwarded. The forwarding appears to be correct as players outside my network can connect to the server, but services like canyouseeme.org continue to say that the service is not responding.
What I really need now is to institute a hairpin NAT rule since one can transfer from one server to another, and those inside my LAN will not be able to do so without it.
add action=masquerade chain=srcnat dst-address=192.168.88.243 dst-port=\
7773-7779 out-interface=ether1 protocol=udp src-address=\
192.168.88.0/24 src-port=7773-7779
add action=dst-nat chain=dstnat dst-port=27015-27017 protocol=udp \
to-addresses=192.168.88.243 to-ports=27015-27017
add action=dst-nat chain=dstnat dst-port=27036 protocol=udp \
to-addresses=192.168.88.243 to-ports=27036
add action=dst-nat chain=dstnat dst-port=7773-7779 protocol=udp \
to-addresses=192.168.88.243 to-ports=7773-7779
add action=dst-nat chain=dstnat dst-port=27015 protocol=tcp \
to-addresses=192.168.88.243 to-ports=27015
add action=dst-nat chain=dstnat dst-port=7777 protocol=tcp to-addresses=\
192.168.88.243 to-ports=7777
add action=dst-nat chain=dstnat dst-port=27016 protocol=tcp \
to-addresses=192.168.88.243 to-ports=27016
add action=dst-nat chain=dstnat dst-port=7778 protocol=tcp to-addresses=\
192.168.88.243 to-ports=7778
add action=masquerade chain=srcnat comment="defconf: masquerade" \
out-interface=ether1
add action=accept chain=dstnat dst-port=25565 protocol=tcp to-addresses=\
192.168.88.237 to-ports=25565
add action=dst-nat chain=dstnat dst-port=12974 protocol=tcp \
to-addresses=192.168.88.249 to-ports=12974
add action=dst-nat chain=dstnat dst-port=25565 protocol=tcp \
to-addresses=192.168.88.243 to-ports=25565
I am currently using three of the 5 ports on the router. They are as follows:
0 R ether1 ether 1500 1596
1 R ether2-master ether 1500 1596
2 RS ether3 ether 1500 1596
3 S ether4 ether 1500 1596
4 S ether5 ether 1500 1596
ether2-master and ether3 are LAN ports serving out my local network. ether1 connects to my cable modem and is what I would normally call my WAN port. I am relatively new to mikrotik and this level of networking.
Is there any way of testing the hairpin rule? I only need it hairpinning several ports for UDP only. I have used the packet sniffer and I see my computer attempting to connect to the server (requesting EXTERNALIP:27015) but I do not see those packets returning.