we have a mikrotik router deployed at a customers business which we implemented as a load balancing/ failover solution.
they recently called us to add some dst nat rules to my dismay when i went to login to the wan ip i cant get in at all.
i tried logging into the 2nd wan ip and same result. we cant access or ping the router from behind our office router.
however when i plug into a switch thats not behind our office router, and pull a dhcp address from our noc i can mac telnet in because im pretty much on the same segment.
i took screenshots of the mikrotik config if someone would like to look.
i will post the config details if needed but im hoping someone else has seen or heard of this happening.
the really weird part is once mac telnetted into this device if i try to ping google.com from the mikrotik i get timeouts along with status of no route to host. obviously its getting out i can see traffic passing through the interfaces.
also i’m mac telnetted into it so its allowing some form of traffic.
I’m at a loss on this one guys. from the customers network everythings working fine except the nat rules i tried to setup for their cisco asa vpn.
I’ve been working with their cisco consultant and he’s urging me to contact mikrotik support to have them look into it however my company doesn’t want to have to pay a consultant. I really need some help here please.
talk about rock and a hard place.
quick summary of config:
the router has 2 wan interfaces and 1 lan interface.
one wan interface is a public ip from our isp network the other wan ip is a public from ameritech i believe.
ether1 = 66.xxx.xxx.xxx/24
ether2 = 192.168.2.1/29
ether3 = 80.xxx.xxx.xxx/29
for routes we have the 3 dynamic routes for the ip’s on the 3 interfaces.
In addition we have
active static routes setup as such
0.0.0.0/0 gateway 66.96.xxx.xxx int= ether1 distance2 routing mark= REST pref source 66.96.xxx.xxx
this route also has check gateway set to arp unicast scope 30 target scope 10.
0.0.0.0/0 gateway 66.96.xxx.xxx int= ether1 distance2 routing mark= POP3 pref source 66.96.xxx.xxx
this route also has check gateway set to arp unicast scope 30 target scope 10.
0.0.0.0/0 gateway 68.xxx.xxx.xxx int= ether3 distance1 routing mark= SMTP
this route also has check gateway set to PING unicast scope 30 target scope 10.
we have these routes in there as well though they aren’t active routes just static.
0.0.0.0/0 gateway 66.96.xxx.xxx int= ether1 distance2 routing mark= SMTP pref source 66.96.xxx.xxx
this route also has check gateway set to PING unicast scope 30 target scope 10.
0.0.0.0/0 gateway 68.xxx.xxx.xxx int= ether3 distance2 routing mark= REST
this route also has check gateway set to PING unicast scope 30 target scope 10.
0.0.0.0/0 gateway 68.xxx.xxx.xxx int= ether3 distance4 routing mark= POP3
this route also has check gateway set to ARP unicast scope 30 target scope 10.
those are all the routes.
the firewall rules are as follows accept input icmp
accept input tcp dst port 8291 in interface ether1
the above rules should allow us to winbox into the router.
we have a few rules for vpn traffic gre and port 1723.
which no traffic goes over currently.
mangle rules are as follows.
0 chain=prerouting proto=tcp dst port=110 action = mark routing new routing mark= POP3
1 chain=prerouting proto=tcp dst port=25 action=mark routing new routing mark= SMTP
2 chain= prerouting action=mark routing new routing mark= REST
NAT rules
0 chain= srcnat out interface= ether1 src address list= allowed internet action= masquerade
1 chain=srcnat out interface= ether3 src address list= allowed internet action = masquerade
below chain 1 we have 6 dst nat rules in place for the ether3 ip mapped to convert 68.xxx.xxx.xxx to 192.168.2.2
I have a feeling its something to do with mangle and the routing. the address list “allowed internet” consists of 192.168.2.1/29 so the lan can get out fine im told.
please i could really use some help figuring out the problem.