I am using OpenVPN 2.4.8 on Win 10 to connect to a Sophos SSL-VPN endpoint (runs OpenVPN under the hood and I don't want to use the Sophos client since I am using OpenVPN anyway).
This is my client config:
Client config
1
ip-win32 dynamic
2
client
3
dev tun
4
proto tcp
5
verify-x509-name "[...]"
6
route remote_host 255.255.255.255 net_gateway
7
resolv-retry infinite
8
nobind
9
persist-key
10
persist-tun
11
dev-node "OpenVPN"
12
pull-filter ignore redirect-gateway
13
route 192.168.20.0 255.255.255.0 vpn_gateway 3
14
<ca>
15
--STRIPPED INLINE CA CERT--
16
</ca>
17
<cert>
18
--STRIPPED INLINE CERT--
19
</cert>
20
<key>
21
--STRIPPED INLINE KEY--
22
</key>
23
auth-user-pass
24
cipher AES-128-CBC
25
auth SHA256
26
comp-lzo no
27
route-delay 4
28
verb 3
29
reneg-sec 0
30
remote [...] 8443
I am suffering from severe connection issues. It seems that the tunnel cannot transport anything larger than 71 byes!
Code: Select all
C:\Windows\System32>ping 192.168.20.144 -f -l 71
Pinging 192.168.20.144 with 71 bytes of data:
Reply from 192.168.20.144: bytes=71 time=23ms TTL=63
Reply from 192.168.20.144: bytes=71 time=24ms TTL=63
Reply from 192.168.20.144: bytes=71 time=23ms TTL=63
Reply from 192.168.20.144: bytes=71 time=27ms TTL=63
Ping statistics for 192.168.20.144:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 27ms, Average = 24ms
C:\Windows\System32>ping 192.168.20.144 -f -l 72
Pinging 192.168.20.144 with 72 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.20.144:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Windows\System32>
Code: Select all
Mon Mar 16 14:46:38 2020 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1200)
[...]
Mon Mar 16 14:46:40 2020 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1272', remote='link-mtu 1572'
Mon Mar 16 14:46:40 2020 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1200', remote='tun-mtu 1500'
How can I fix this situation?
PS: I tried using the oconf BB tag but it is ignored ... so I'm using the normal code tag.