Kali Linux Openvpn on the raspberry pi
Posted: Wed May 31, 2023 5:26 pm
I have a VPN connection with a VPN and I have an .ovpn file. The connection to the VPN was successful and I also receive a message.
Only when I connect to the VPN do I have no internet. If I enter 8.8.8.8 in the DNS then I have internet again, but my IP address has not yet changed.
I have asked the VPN provider for the DNS information but have not yet received a response.
Some more info about the VPN:
The gateway is :vpn0001.vpnbrand.com:443:udp
And with "ip a" I get:
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/none
inet 10.104.0.2/16 brd 10.104.255.255 scope global noprefix route tun0
valid_lft forever preferred_lft forever
inet6 fe80::e994
d540:cc65/64 scope link stable-privacy
valid_lft forever preferred_lft forever
And with "ip r":
default via 192.168.2.254 dev eth0
default via 10.104.0.1 dev tun0 proto static metric 50
10.104.0.0/16 dev tun0 proto kernel scope link src 10.104.0.2 metric 50
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.30
Only when I connect to the VPN do I have no internet. If I enter 8.8.8.8 in the DNS then I have internet again, but my IP address has not yet changed.
I have asked the VPN provider for the DNS information but have not yet received a response.
Some more info about the VPN:
The gateway is :vpn0001.vpnbrand.com:443:udp
And with "ip a" I get:
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/none
inet 10.104.0.2/16 brd 10.104.255.255 scope global noprefix route tun0
valid_lft forever preferred_lft forever
inet6 fe80::e994
valid_lft forever preferred_lft forever
And with "ip r":
default via 192.168.2.254 dev eth0
default via 10.104.0.1 dev tun0 proto static metric 50
10.104.0.0/16 dev tun0 proto kernel scope link src 10.104.0.2 metric 50
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.30