OpenVPN Failing

When I try to connect to the openVPN, it says it had a fatal error and couldn’t execute. I had an older Linux version running and it would work on there but today I downloaded the 2020.4 version and now I can’t connect.

What is the error message?

Are you running sudo before you try to open the OpenVPN (Kali 2020 has decided you need to run sudo a lot before you can do anything usefull, when the old versions were a bit more permissive)

Hi, I dont know if is the same problem but I’m getting error from today with OpenVPN… I’ve Tried to download again the vpn pack and Im still get the same error.> @TazWake said:

What is the error message?

Are you running sudo before you try to open the OpenVPN (Kali 2020 has decided you need to run sudo a lot before you can do anything usefull, when the old versions were a bit more permissive)

2021-01-23 06:48:02 ROUTE_GATEWAY 10.0.2.2/255.255.255.0 IFACE=eth0 HWADDR=08:00:27:3e:77:73
2021-01-23 06:48:02 GDG6: remote_host_ipv6=n/a
2021-01-23 06:48:02 net_route_v6_best_gw query: dst ::
2021-01-23 06:48:02 sitnl_send: rtnl: generic error (-101): Network is unreachable
2021-01-23 06:48:02 ROUTE6: default_gateway=UNDEF
2021-01-23 06:48:02 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
2021-01-23 06:48:02 Exiting due to fatal error

First question - are you running this as sudo / su or root?

1 Like

i have the same issue, im not running as root and when i typed sudo mohan10216.opvn it just keeps on saying an error

If that’s the full command you’re running it won’t do anything.

“Sudo openvpn FILE”

Type your comment> @mohan10216 said:

i have the same issue, im not running as root and when i typed sudo mohan10216.opvn it just keeps on saying an error

Use the full command
“sudo openvpn your_vpn_file”

2023-07-14 03:58:39 net_route_v4_best_gw query: dst 0.0.0.0
2023-07-14 03:58:39 net_route_v4_best_gw result: via 10.0.2.1 dev eth0
2023-07-14 03:58:39 ROUTE_GATEWAY 10.0.2.1/255.255.255.0 IFACE=eth0 HWADDR=08:00:27:53:0c:ba
2023-07-14 03:58:39 GDG6: remote_host_ipv6=n/a
2023-07-14 03:58:39 net_route_v6_best_gw query: dst ::
2023-07-14 03:58:39 sitnl_send: rtnl: generic error (-101): Network is unreachable
2023-07-14 03:58:39 ROUTE6: default_gateway=UNDEF
2023-07-14 03:58:39 TUN/TAP device tun0 opened
2023-07-14 03:58:39 net_iface_mtu_set: mtu 1500 for tun0
2023-07-14 03:58:39 net_iface_up: set tun0 up
2023-07-14 03:58:39 net_addr_v4_add: 10.10.15.27/23 dev tun0

I’ve tried udp/tcp files with sudo full command, nothing works. It happened after kali update.

Where should I check or configure?