Hi friends. Just picked up a Mikrotik RouterBOARD 750G r3 unit to act as my home router. After futzing through the many, many guides and different suggestions out there I finally got my filter rules set up thanks to some helpful IRC users. So far I’m definitely digging this thing. There’s a few curious things about it yet that I’d like to iron out. The current focal point is regarding what looked to be ping delays at first.
jason@JasT470:~$ ping 10.13.0.200
PING 10.13.0.200 (10.13.0.200) 56(84) bytes of data.
64 bytes from 10.13.0.200: icmp_seq=8 ttl=64 time=1.49 ms
64 bytes from 10.13.0.200: icmp_seq=9 ttl=64 time=1.61 ms
64 bytes from 10.13.0.200: icmp_seq=20 ttl=64 time=2.32 ms
64 bytes from 10.13.0.200: icmp_seq=94 ttl=64 time=4.00 ms
64 bytes from 10.13.0.200: icmp_seq=95 ttl=64 time=4.27 ms
64 bytes from 10.13.0.200: icmp_seq=96 ttl=64 time=2.52 ms
64 bytes from 10.13.0.200: icmp_seq=137 ttl=64 time=4.22 ms
At first when I was doing simple ping tests to make sure all was well, I kept thinking that I did something wrong because pings would fail to show up – but then all of the sudden they did. Looking at the ICMP_SEQ you can see a weird variation in which I receive a ping response that displays on my screen. In this case, it began to show on 8, but other times it didn’t show up until 50, 75, etc., so I sat there for quite a while until I was able to see something. This is a pretty stark contrast to my consumer grade router I just replaced where I could see the responses immediately and they would count sequentially. Everything is running fine and functional though so I’m not having an actual technical problem with this, but I found the behavior interesting and figured I’d ask.
My config is mostly stock with exception to some minor adjustments to my IP scheme and DHCP pool. Beyond that, I just have some NAT rules in place as follows:
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ether1-WAN
add action=masquerade chain=srcnat comment="Hairpin NAT" dst-address=10.13.0.0/24 src-address=10.13.0.0/24
add action=dst-nat chain=dstnat comment=HTTPS dst-address=!10.13.0.1 dst-address-type=local dst-port=443 protocol=tcp to-addresses=10.13.0.201
add action=dst-nat chain=dstnat comment=HTTP dst-address=!10.13.0.1 dst-address-type=local dst-port=80 protocol=tcp to-addresses=10.13.0.201
add action=dst-nat chain=dstnat comment="Quassel IRC" dst-address=!10.13.0.1 dst-address-type=local dst-port=4242 protocol=tcp to-addresses=10.13.0.201
add action=dst-nat chain=dstnat comment=OpenVPN dst-address=!10.13.0.1 dst-address-type=local dst-port=443 protocol=udp to-addresses=10.13.0.201
add action=dst-nat chain=dstnat comment=Bluecherry dst-address=!10.13.0.1 dst-address-type=local dst-port=7002 protocol=tcp to-addresses=10.13.0.200
add action=dst-nat chain=dstnat comment="Bluecherry UI" dst-address=!10.13.0.1 dst-port=7001 protocol=tcp to-addresses=10.13.0.200
For sake of context:
10.13.0.1 = mikrotik IP/gateway
10.13.0.200 = file server
10.13.0.201 = web server
Not sure if the rules matter in this case but figured I’d add them here in case they were relevant. Thanks for any insight!
EDIT - With some help from the IRC folks I might be on to something… I’ll update the post once I can confirm more. Thanks for looking. ![]()