aresmt
September 14, 2016, 10:36pm
1
Hi,
Would you please help me with this issues that i have.
I have 2 Mikrotik routers on 2 different locations and i want to connect the subsets through OVPN.
The connections is configured but i have some problems configuring the routes and masquerade.
MikroTik A (Server) Subnet 192.168.10.0/24
Mikrotik B (Client) Subnet 192.168.200.0/24
OpenVPN Local IP (Server) 192.168.14.1
OpenVPN Remote IP (Client) 192.168.202.1
Client is connecting to server through internet.
What i need is that subnet 192.168.200.0/24 to have access to 192.168.10.0/24 and vice versa.
What routes should i add for this?
Thanks in advance,
MikroTik A:
/ip route add distance=1 dst-address=192.168.200.0/24 gateway=ovpn-interface-name
MikroTik B:
/ip route add distance=1 dst-address=192.168.10.0/24 gateway=ovpn-interface-name
aresmt
September 15, 2016, 8:24pm
3
Hi Dave,
Still not working.
From
Mikrotik B (Client) Subnet 192.168.200.0/24
i can ping
OpenVPN Local IP (Server) 192.168.14.1
but noting from 192.168.10.0/24 or 192.168.10.1
Thanks,
Check your firewalls.
You need to have forward accept rules from/to the openvpn interfaces to/from your LAN on both routers.
And another issue: If you’re running windows on the devices, you will still not get ping answers, because windows is not replying to pings from other subnets by default. Here you need either to masquerade to your LAN IP on both sides or change the firewall policies on the windows machines.
plisken
September 18, 2016, 1:33pm
6
Try this in “ip” “firewall” “filter”
aresmt
September 24, 2016, 10:28am
7
Hi All,
Thank you for your help. I manage to configure fallowing your instructions.
It seems that over OVPN I get low transfer rate.
From router to router I get 60Mbps
Over OVPN I get around 300 Kbps
Certificates are 4096 and MTU is 1500
Any suggestions?
Thanks in advance,