I have MT300N-V2 with the latest firmware. I have an open vpn server where I generated ovpn file and uploaded this into MT300N. VPN works but it routes all the traffic via VPN. I only want to have a VPN tunnel to my openvpn server so I have an access to the openwrt’s shell in MT300N.
How can I do this?
I tried entering this in ovpn but it did not help: pull-filter ignore "redirect-gateway"
If I use the same ovpn file from my ubuntu box using command ovpn vpn_connection.ovpn, it works and my internet traffic goes via gateway defined before connecting openvpn.
192.168.1.0 - subnet of home router (in which is OVPN server (192.168.0.1 configured)
192.168.99.0 - subnet of PADAVAN router (OVPN CLIENT 192.168.0.2)
192.168.3.0 - subnet of GL-INET MIFI router (OVPN CLIENT 192.168.0.7)
from server subnet (192.168.1.1 i can access subnet (192.168.99.0 - subnet of PADAVAN router).
from 192.168.99.0 - subnet of PADAVAN router i can access 192.168.1.0 subnet.
from 192.168.3.0 - subnet of GL-INET MIFI router i can access both subnets 192.168.1.0 and 192.168.99.0
from subnets 192.168.1.0 and 192.168.99.0 I cannot access subnet (192.168.3.0) of GL-INET MIFI router.
on PADAVAN router has these functions enabled:
Restrict Access from VPN Server Site: No (Site-to-Site), using NAT translation
Obtaining DNS from VPN Server: Replace all existing
Route All Traffic through the VPN interface: Yes
How I can enable same functions as are in PADAVAN router on GL-INET MIFI router? as I understand it’s not working routing because of these functions. Please help me with this. Thank You.