I have some issues setting up my OpenVPN network. I can make succesfull OpenVPN connection from my MikroTik client router to my MikroTik server router. Moreover I can ping OpenVPN server (10.10.10.1) from my MikroTik client (10.10.10.5) but I can't ping server from inside of LAN ( 8.7.1.0 ).
This is what I'm trying to achieve:
And this is my current setup:
/ip firewall nat
Code: Select all
chain=srcnat action=masquerade out-interface=wlan1-local log=no log-prefix=""
chain=srcnat action=masquerade src-address=10.8.7.0/24 out-interface=OpenVPN log=no log-prefix=""
Code: Select all
chain=prerouting action=mark-routing new-routing-mark=OpenVPN passthrough=yes src-address=10.8.7.0/24 log=no log-prefix=""
Code: Select all
0 A S 0.0.0.0/0 10.10.10.1 1
1 ADS 0.0.0.0/0 192.168.43.1 1
2 ADC 10.8.7.0/24 10.8.7.1 ether1-gateway 0
3 ADC 10.10.10.1/32 10.10.10.5 OpenVPN 0
4 ADC 192.168.43.0/24 192.168.43.110 wlan1-local 0