Hello,
I’m struggling to setup a system that would work like this:
On site A, i have a Router with an OpenVPN server (ip)
On site B, i have Mikrotik mAP that is between a network and a target device. (ether1 and ether2 are bridged and i added a DHCP client on bridge)
I would like to be able to connect to said target device from Site A, first using http, and if possible later, through VNC and read SNMP. Here is a schematic:

I established VPN connexion successfully and both RouterOS can ping each other.
Here is the NAT rule i added:
chain=dstnat action=dst-nat to-addresses=172.18.1.22 in-interface=ovpn-out1 log=yes log-prefix="nat"
For easier testing, i replaced target device by a webserver so i can check the logs.
From Site B routerOS i can properly query target:
[admin@MikroTik] /ip> /tool/fetch url="http://172.18.1.22/index.html"
status: finished
downloaded: 10KiB
total: 10KiB
duration: 0s
When i try the same from RouterA’s console, i see an attempt to forward from RouterB but no request come through:
[admin@GPCA-CHR] > /tool/fetch url="http://10.183.255.254/index.html"
status: failed
failure: connection timeout
On RouterB’s log:
23:20:58 firewall,info nat dstnat: in:ovpn-out1 out:(unknown 0), proto TCP (SYN), 10.183.0.1:41534->10.183.255.254:80, len 60
23:20:58 firewall,info filter forward: in:ovpn-out1 out:bridge, proto TCP (SYN), 10.183.0.1:41534->172.18.1.22:80, NAT 10.183.0.1:41534->(10.183.255.254:80->172.18.1.22:80), len 60
23:20:59 firewall,info filter forward: in:ovpn-out1 out:bridge, proto TCP (SYN), 10.183.0.1:41534->172.18.1.22:80, NAT 10.183.0.1:41534->(10.183.255.254:80->172.18.1.22:80), len 60
(...and so on...)
I tried:
- specifying adress(es) instead/with interfaces in NAT rule matching.
- using netmap instead of dstnat
- tinkering with mangle-prerouting but i’m not skilled enough.
I suspect having the target device with a gateway (172.18.1.1) that is not my RouterB doesn’t play well with NAT-ing. If that’s the case, is there a workaround? (target device doesn’t have VPN capabilities, and i can’t reconfigure SiteB’s gateway)
Here is an export from RouterB’s config: https://pastebin.com/JKDs6T78
I have also required help on Mikrotik’s subreddit (link to post).
Thanks for your time.