VPN problem I cannot browse some sites

Hello I have a problem with my VPN I can’t view all sites when is active. When is active I have only traffic for some sites like the sites inside the private network and some public sites like Google. But when I try to enter sites like stackoverflow or slack I cannot enter these pages. I’m working now with Fedora 38 and I’m using the settings panel in the section network and then VPN to import the ovpn file. I don’t know too much about how to troubleshoot this problem, I run the next commands

  • journalctl -u NetworkManager.service -f
May 29 18:49:21 fedora NetworkManager[1482]: <info>  [1685400561.6851] vpn[0x55a2eebff0a0,9ce1da65-6958-4fee-8947-0d38f410514f,"profile-5"]: starting openvpn
May 29 18:49:21 fedora NetworkManager[1482]: <info>  [1685400561.6855] audit: op="connection-activate" uuid="9ce1da65-6958-4fee-8947-0d38f410514f" name="profile-5" pid=3074 uid=1000 result="success"
May 29 18:49:21 fedora nm-openvpn[18292]: OpenVPN 2.6.3 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
May 29 18:49:21 fedora nm-openvpn[18292]: library versions: OpenSSL 3.0.8 7 Feb 2023, LZO 2.10
May 29 18:49:21 fedora nm-openvpn[18292]: DCO version: N/A
May 29 18:49:21 fedora nm-openvpn[18292]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 29 18:49:21 fedora nm-openvpn[18292]: TCP/UDP: Preserving recently used remote address: [AF_INET]54.226.68.72:1194
May 29 18:49:21 fedora nm-openvpn[18292]: UDPv4 link local: (not bound)
May 29 18:49:21 fedora nm-openvpn[18292]: UDPv4 link remote: [AF_INET]54.226.68.72:1194
May 29 18:49:21 fedora nm-openvpn[18292]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
May 29 18:49:22 fedora nm-openvpn[18292]: [OpenVPN Server] Peer Connection Initiated with [AF_INET]54.226.68.72:1194
May 29 18:49:22 fedora nm-openvpn[18292]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.6.3)
May 29 18:49:22 fedora nm-openvpn[18292]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:5: dhcp-renew (2.6.3)
May 29 18:49:22 fedora nm-openvpn[18292]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:6: dhcp-release (2.6.3)
May 29 18:49:22 fedora nm-openvpn[18292]: WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
May 29 18:49:22 fedora nm-openvpn[18292]: WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
May 29 18:49:22 fedora nm-openvpn[18292]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:15: register-dns (2.6.3)
May 29 18:49:22 fedora nm-openvpn[18292]: TUN/TAP device tun0 opened
May 29 18:49:22 fedora nm-openvpn[18292]: /usr/libexec/nm-openvpn-service-openvpn-helper --debug 0 18282 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_31 --tun -- tun0 1500 0 172.27.232.10 255.255.248.0 init
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8371] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/15)
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8723] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8755] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8782] device (tun0): Activation: starting connection 'tun0' (3abfba7e-19c1-41a1-a56e-08781df47e21)
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8812] device (tun0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8816] device (tun0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8818] device (tun0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.8821] device (tun0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.9056] policy: set 'profile-5' (tun0) as default for IPv4 routing and DNS
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.9162] device (tun0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.9164] device (tun0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
May 29 18:49:22 fedora NetworkManager[1482]: <info>  [1685400562.9171] device (tun0): Activation: successful, device activated.
May 29 18:49:27 fedora nm-openvpn[18292]: UID set to nm-openvpn
May 29 18:49:27 fedora nm-openvpn[18292]: GID set to nm-openvpn
May 29 18:49:27 fedora nm-openvpn[18292]: Capabilities retained: CAP_NET_ADMIN
May 29 18:49:27 fedora nm-openvpn[18292]: Initialization Sequence Completed
  • route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.27.232.1    0.0.0.0         UG    50     0        0 tun0
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlp5s0
54.226.68.72    192.168.0.1     255.255.255.255 UGH   50     0        0 wlp5s0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
172.27.232.0    0.0.0.0         255.255.248.0   U     50     0        0 tun0
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp5s0
192.168.0.1     0.0.0.0         255.255.255.255 UH    50     0        0 wlp5s0

The log of journalctl shows some errors, but I don’t know if are related or how to fix them.

When using a vpn one can only access the sites that are allowed by the vpn providers configuration (firewall, region, etc.). Thus choice of vpn providers is important.

Your description seems to indicate that there is a possibility of either firewall restrictions or dns issues.

1 Like