Hi,
As portforwarding sometimes fails at client locations we are not always able to manage the edgerouter from remote.
I have set up an ubuntu box at the office running openvpn. I installed the client on a remote edgerouter using following commands
configure
set interfaces openvpn vtun0 config-file /config/vpn-client1.ovpn
commit
save
exit
The edgerouter was connected to the vpn server and it all seemed well. However after several minutes i lost connection to the edgerouter.
I went to the location. The local lan didn't have any internet connectivity anymore. I logged in to the edgerouter and disabled the vtun0 interfaces. I saw several static routes dissappear and the internet access was working egain.
How can I exclude the local lan from the vpn connection. I only need to acces the gui and ssh through the vpn.
There is no ip conflict. all subnets are different.
Thanks