H
H
HighMan2022-02-23 15:18:34
linux
HighMan, 2022-02-23 15:18:34

gnome-network-manager openvpn how to configure routing?

Hello colleagues!
Something I completely screwed up with NetworkManager-openvpn-gnome.
All configuration of the server and client is already done.
If on your machine in the terminal:
sudo openvpn client.ovpn
Then everything connects correctly. The system does not try to make the vpn server default gateway
. If I import this file into NetworkManager-openvpn-gnome, then the vpn server is set to default gateway.
How to overcome this trouble?
Setting the "points" to IPv4->Only for the local network in the connection settings does not help. When connected, the vpn server becomes the default gateway.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HighMan, 2022-03-09
@HighMan

Here is the solution:
Import the VPN connection settings. Next, go to settings ->IPV4->Automatic DHCP -> check the box at the very bottom for "Use this connection only for resources on this network".
Ready!
Now, when connecting, the Default Gateway will not be reassigned

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question