You are not logged in.

#1 2024-05-21 13:32:19

psi-X
Member
Registered: 2024-05-21
Posts: 2

networkmanager + openvpn connecting only to LAN

Hi! Having a problem with connecting to web using vpn using networkmanager-openvpn. I've read https://wiki.archlinux.org/title/OpenVP … the_server and added redirect-gateway def1 bypass-dhcp ipv6 line to /etc/openvpn/client/client.conf (which didn't exist before). But the problem is still there.
Pinging to 8.8.8.8 give me this:

From 10.8.0.1 icmp_seq=7 Destination Host Prohibited

traceroute:

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1  _gateway (10.8.0.1)  9.063 ms  9.065 ms  9.062 ms
2  _gateway (10.8.0.1)  9.073 ms !X * *

I'm using .ovpn file to connect using nmcli connection import type openvpn file <filename.ovpn>. It's also works fin on windows.
How can i make it work?

Last edited by psi-X (2024-05-21 15:40:26)

Offline

#2 2024-05-21 16:03:18

psi-X
Member
Registered: 2024-05-21
Posts: 2

Re: networkmanager + openvpn connecting only to LAN

Solution found. I had to make gateway 192.168.0.1 with command:

nmcli connection modify <VPN NAME> ipv4.never-default true

Offline

Board footer

Powered by FluxBB