Can connect to VPN with WiFi but not with Ethernet

I use a VPN (Ubuntu 20.04, OpenFortiGui) to connect to the institute's server. I have no issues when using WiFi. Since the WiFI is pretty slow, I bought a USB-Ethernet adapter and cloned the MAC address of the institute's laptop to use on my personal laptop. I can connect to the Internet and ping google.com. The problem is that when using the Ethernet connection I cannot connect to the VPN and I cannot ping the server (which I can when using WiFi, even with the VPN off).

The output of route is the following:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.20.20.1 0.0.0.0 UG 100 0 0 enx7cc2c61f63f3
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx7cc2c61f63f3
172.20.20.0 0.0.0.0 255.255.254.0 U 100 0 0 enx7cc2c61f63f3

The output of ifconfig -a is the following:

enx7cc2c61f63f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.20.20.190 netmask 255.255.254.0 broadcast 172.20.21.255 inet6 fe80::c713:85cd:adc7:2566 prefixlen 64 scopeid 0x20<link> ether ec:21:e5:8a:6a:1c txqueuelen 1000 (Ethernet) RX packets 256301 bytes 40204839 (40.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13789 bytes 2510287 (2.5 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
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 (Local Loopback) RX packets 327330 bytes 99420732 (99.4 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 327330 bytes 99420732 (99.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp52s0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 8c:c6:81:d2:44:7f txqueuelen 1000 (Ethernet) RX packets 3596453 bytes 4423311204 (4.4 GB) RX errors 0 dropped 6210 overruns 0 frame 0 TX packets 1351475 bytes 285954939 (285.9 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like