Code: Select all
sudo openvpn [file name]
Routing table without the VPN:
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s31f6
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.7.7.1 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s31f6
10.7.7.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
38.132.111.195 192.168.1.1 255.255.255.255 UGH 0 0 0 enp0s31f6
128.0.0.0 10.7.7.1 128.0.0.0 UG 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
Code: Select all
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::529a:4cff:fe51:2904 prefixlen 64 scopeid 0x20<link>
ether 50:9a:4c:51:29:04 txqueuelen 1000 (Ethernet)
RX packets 311291 bytes 369763756 (352.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 225890 bytes 64590566 (61.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7100000-f7120000
Code: Select all
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.7.7.213 netmask 255.255.255.0 destination 10.7.7.213
inet6 fe80::6f6e:4807:2bb8:3a9d 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 24 bytes 1872 (1.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 150 bytes 33452 (32.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I ran the following commands, shamelessly stolen from an Ubuntu forums post (that didn't solve the problem)
Code: Select all
ifconfig
route -n
cat /etc/resolv.conf
ping -c3 91.189.94.186
ping -c3 ubuntuforums.com
Code: Select all
user@workstation:~$ sudo ifconfig
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::529a:4cff:fe51:2904 prefixlen 64 scopeid 0x20<link>
ether 50:9a:4c:51:29:04 txqueuelen 1000 (Ethernet)
RX packets 311492 bytes 369786355 (352.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 226082 bytes 64646658 (61.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7100000-f7120000
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 (Local Loopback)
RX packets 254 bytes 12964 (12.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 254 bytes 12964 (12.6 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.213 netmask 255.255.255.0 destination 10.7.7.213
inet6 fe80::6f6e:4807:2bb8:3a9d 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 48 bytes 3640 (3.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 211 bytes 43492 (42.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
user@workstation:~$ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.7.7.1 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s31f6
10.7.7.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
38.132.111.195 192.168.1.1 255.255.255.255 UGH 0 0 0 enp0s31f6
128.0.0.0 10.7.7.1 128.0.0.0 UG 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
Code: Select all
user@workstation:~$ cat /etc/resolv.conf
domain hsd1.il.comcast.net.
search hsd1.il.comcast.net.
nameserver 75.75.75.75
nameserver 75.75.76.76
Code: Select all
user@workstation:~$ ping -c3 91.189.94.186
PING 91.189.94.186 (91.189.94.186) 56(84) bytes of data.
From 91.189.88.5 icmp_seq=1 Destination Host Unreachable
From 91.189.88.5 icmp_seq=2 Destination Host Unreachable
From 91.189.88.5 icmp_seq=3 Destination Host Unreachable
--- 91.189.94.186 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2026ms
pipe 3
Code: Select all
user@workstation:~$ ping -c3 ubuntuforums.com
ping: ubuntuforums.com: Temporary failure in name resolution
Code: Select all
user@workstation:~$ sudo iptables-save -c
Code: Select all
user@workstation:~$ sudo ifconfig
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::529a:4cff:fe51:2904 prefixlen 64 scopeid 0x20<link>
ether 50:9a:4c:51:29:04 txqueuelen 1000 (Ethernet)
RX packets 312106 bytes 369851244 (352.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 226685 bytes 64736218 (61.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7100000-f7120000
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 (Local Loopback)
RX packets 254 bytes 12964 (12.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 254 bytes 12964 (12.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
user@workstation:~$ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp0s31f6
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
Code: Select all
user@workstation:~$ cat /etc/resolv.conf
domain hsd1.il.comcast.net.
search hsd1.il.comcast.net.
nameserver 75.75.75.75
nameserver 75.75.76.76
Code: Select all
user@workstation:~$ ping -c3 91.189.94.186
PING 91.189.94.186 (91.189.94.186) 56(84) bytes of data.
From 91.189.88.5 icmp_seq=1 Destination Host Unreachable
From 91.189.88.5 icmp_seq=2 Destination Host Unreachable
From 91.189.88.5 icmp_seq=3 Destination Host Unreachable
--- 91.189.94.186 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2025ms
pipe 3
Code: Select all
user@workstation:~$ ping -c3 ubuntuforums.com
PING ubuntuforums.com (91.189.94.16) 56(84) bytes of data.
64 bytes from marula.canonical.com (91.189.94.16): icmp_seq=1 ttl=47 time=107 ms
64 bytes from marula.canonical.com (91.189.94.16): icmp_seq=2 ttl=47 time=107 ms
64 bytes from marula.canonical.com (91.189.94.16): icmp_seq=3 ttl=47 time=108 ms
--- ubuntuforums.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 107.151/107.931/108.934/0.791 ms
Code: Select all
user@workstation:~$ sudo iptables-save -c