As soon as I activate my VPN on my Linux host, my internet drops. I can't access the internet on my host or guest (Windows 7).
I'm accessing the internet through a router. If I activate the VPN without running VirtualBox, everything works just fine. As soon as I start (or keep running) VB, the internet drops on both host and guest.
Here's some information about my network configuration:
with VPN OFF
Code: Select all
[root@linux ~]$ ifconfig
enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:97:0e:c4:f2:85 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf3a00000-f3a20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Lokale Schleife)
RX packets 48 bytes 3420 (3.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 48 bytes 3420 (3.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:e0:f2:0c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.23 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 fe80::92c:fd8c:a82e:9ef8 prefixlen 64 scopeid 0x20<link>
ether 3c:a9:f4:65:37:49 txqueuelen 1000 (Ethernet)
RX packets 153645 bytes 198326273 (189.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 110073 bytes 13381740 (12.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
[root@linux ~]$ route
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default 192.168.42.1 0.0.0.0 UG 600 0 0 wlp3s0
192.168.42.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
with VPN ON
Code: Select all
[root@linux ~]$ ifconfig
enp0s25: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:97:0e:c4:f2:85 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf3a00000-f3a20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 24 bytes 1840 (1.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24 bytes 1840 (1.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.7.7.17 netmask 255.255.255.0 destination 10.7.7.17
inet6 fe80::c880:6b7e:b0af:db66 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 32 bytes 6532 (6.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 43 bytes 3796 (3.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:e0:f2:0f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.32 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 fe80::92c:fd8c:a82e:9ef8 prefixlen 64 scopeid 0x20<link>
ether 3c:a9:f4:65:37:49 txqueuelen 1000 (Ethernet)
RX packets 1482393 bytes 2115633017 (1.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 773554 bytes 83062512 (79.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
[root@linux ~]$ route
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 50 0 0 tun0
default gateway 0.0.0.0 UG 600 0 0 wlp3s0
10.7.7.0 0.0.0.0 255.255.255.0 U 50 0 0 tun0
178.250.48.21 gateway 255.255.255.255 UGH 600 0 0 wlp3s0
192.168.42.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
gateway 0.0.0.0 255.255.255.255 UH 600 0 0 wlp3s0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
For my guest I have only Adapter 1 active using NAT.
I know it is related to my network settings, I just don't know if the settings on my host or guest need optimization and how to set it up so that it finally works.
Has anyone an idea how this issue can be fixed?