routes in Network Manager

Asked by Vladimir Sidorkin

Hi, I am testing Network Manage on Ubuntu 22.04 ver. 1.36.6 to establish connection via VPN Ipsec Ikev2 with server (Mikrotik router) and I have problem with routing on client side. Network Manager accept only thirst route (example 192.168.1.0/24) and other routes are drop (example 10.0.0.0/16 and so on) Any one deals with such case? May be editing some cfg files on Network Manager or netplan helps to solve this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Doesn't the VPN endpoint give the routes as part of it's config? You would do split tunnelling there IMHO

Revision history for this message
Vladimir Sidorkin (sarevok93219) said :
#2

I do like this. The problem is in getting routes on Network Manager. On windows everything is allright.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

How did you configure the VPN connection?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

https://askubuntu.com/questions/60784/execute-a-script-after-a-vpn-connection-is-started

You can use this. Just change the interface name with the one created by your vpn

Can you help with this problem?

Provide an answer of your own, or ask Vladimir Sidorkin for more information if necessary.

To post a message you must log in.