I have a RB750 setup as my home firewall/router, PPPoE to an ADSL modem in bridge mode. Firewall and NAT rules setup to my liking and everything is working well, except one thing - external connectivity from the RB750 itself.
I cannot seem to successfully connect to an external NTP server or the RouterOS updates. Running a packet snif on the attempts I see the traffic leaving from the device with the source IP of the WAN service, which I’d imagine would be fine but it doesn’t get a response. I’ve tried a variety of firewall and srcNAT rules to get it working to no avil.
Is there a way to ensure the RouterOS system uses a particular internal IP as its source address for these connections so the existing firewall and nat rules should apply?
Facepalm - Thank you sindy, that’s such an obvious idea I that I am annoyed at myself for not thinking of it myself! This works perfectly. I assume most people with a reasonably complex network will have combinations of OSPF, BGP, Static Routes, and a bunch of routers with random IP addresses, as well, which makes this annoyingly complex, and you can’t just use a Loopback address like you can with Ciscos, for example. But your idea is obvious, and simple to implement!
Here is the quick guide for anyone reading along later:
Make sure you have an Address List of ‘do not nat these addresses’ - I assume you have that, or some other way of tagging packets or connections. That is up to you, but for me an Address List was the easiest. Note: OSPF and VRRP uses multicast traffic! Make sure you have 224.0.0.0/4 as part of that list!
Im not understanding this completely. Im using a Mikrotik to support IPoE and have a public subnet which is used on other devices also to build networks. I can’t seem to used DNS resolving for updating and also im not able to ping to 8.8.8.8 unless I use a ping with a source IP of my bridge. I do not use NAT.
I simply just want the Mikrotik to use a IP I state for upgrade, is this possible?
It depends on how you assigned IP address(es) to router … couild be there’s some mistake there. If you can post complete config (you can obfuscate any public addresses, but obfuscate them so that it’s consistent throughout whole config), we can have a look at it.
My apologies for the late reply, I forgot to check my email during the holidays. Ive managed to get it working with adding a route and use a source address on that route that I want to use. See the example below, for me this works fine. Its only needed for the update:
add comment=“** added for local resolv upgrading " distance=1 dst-address=8.8.4.4/32 gateway=145.54.63.5 pref-src=[source to use]
add distance=1 dst-address=8.8.8.8/32 gateway=145.54.63.5 pref-src=[source to use]
add comment=" added for upgrading **” distance=1 dst-address=159.148.147.204/32 gateway=145.54.63.5 pref-src=[source to use]