我在 Windows、Ubuntu 和 Manjaro 上通过 openvpn 连接了我的大学 VPN。
Windows 可以立即运行,无需任何配置。
使用任何 Linux 系统时,连接到 VPN 似乎都可以工作,但是当请求网站(我所在的网络内部或外部)时,看起来我陷入了无限循环。
现在我在 Manjaro 上。
OpenVPN-文件:
client
dev tun
proto tcp
connect-timeout 20
remote serverFooBar 1195 #correct server is set here
remote-cert-tls server
auth-user-pass
# the option 'block-outside-dns' is for windows only
# ignore-unknown-option block-outside-dns
# block-outside-dns
route-metric 1
push-peer-info
<ca>
-----BEGIN CERTIFICATE-----
Here is the Certificate
-----END CERTIFICATE-----
</ca>
跟踪路由的结果如下:
traceroute link.springer.com
traceroute to link.springer.com (172.23.255.252), 30 hops max, 60 byte packets
1 172.23.255.252 (172.23.255.252) 43.817 ms 3036.501 ms 3065.505 ms
2 172.23.255.252 (172.23.255.252) 4035.637 ms 4063.329 ms 4063.283 ms
3 172.23.255.252 (172.23.255.252) 4063.306 ms 4063.299 ms 4063.293 ms
4 172.23.255.252 (172.23.255.252) 4063.298 ms 4063.270 ms 4063.275 ms
5 * * *
...
30 * * *
resolv.conf 也正确设置了 dns 服务器
nameserver 172.25.0.1
nameserver myIPv6Adress
nameserver 192.168.0.1
我怀疑网卡与操作系统不兼容
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
附加硬件信息:
cpu:
AMD Ryzen 5 4500U with Radeon Graphics
network:
wlp3s0 Intel Wi-Fi 6 AX200
enp2s0 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
network interface:
lo Loopback network interface
wlp3s0 Ethernet network interface
enp2s0 Ethernet network interface
docker0 Ethernet network interface
bridge:
AMD Renoir PCIe Dummy Host Bridge
AMD Renoir Device 24: Function 3
AMD Renoir Device 24: Function 1
AMD Renoir PCIe Dummy Host Bridge
AMD Renoir PCIe GPP Bridge
AMD FCH LPC Bridge
AMD Renoir PCIe GPP Bridge
AMD Renoir Device 24: Function 6
AMD Renoir Root Complex
AMD Renoir Internal PCIe GPP Bridge to Bus
AMD Renoir Device 24: Function 4
AMD Renoir Device 24: Function 2
AMD Renoir PCIe GPP Bridge
AMD Renoir Device 24: Function 0
AMD Renoir PCIe GPP Bridge
AMD Renoir PCIe Dummy Host Bridge
AMD Renoir Device 24: Function 7
AMD Renoir Device 24: Function 5
作为一名 Linux 新手,我没有办法调试这个问题。
任何帮助表示赞赏。