wangyu- / UDPspeeder

A Tunnel which Improves your Network Quality on a High-latency Lossy Link by using Forward Error Correction, possible for All Traffics(TCP/UDP/ICMP)
MIT License
4.69k stars 827 forks source link

OpenVPN connection is established correctly over multi client configuration, but no ping #317

Open javad123javad opened 1 year ago

javad123javad commented 1 year ago

Hi, I'm using the UDPSpeedr over a multi-client to client OpenVPN setup. Even though the client can connect through UDPSpeeder to the server, there are no ping response. Server configuration:

local 0.0.0.0
port 4096
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 94.140.14.14"
push "dhcp-option DNS 94.140.15.15"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_knUDBU0VpvwO8u7g.crt
key server_knUDBU0VpvwO8u7g.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
sndbuf 2000000      ##### important
rcvbuf 2000000      ##### important
txqueuelen 4000     ##### suggested

Client configuration:

client
proto udp
explicit-exit-notify
#remote 38.54.84.113 4096
remote 127.0.0.1 3333
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_knUDBU0VpvwO8u7g name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
sndbuf 2000000      ##### important
rcvbuf 2000000      ##### important
txqueuelen 4000     ##### suggested

UDPSpeeder server command:

sudo speederv2 -s -l0.0.0.0:8855 -r 127.0.0.1:4096 -f20:10

UDPSpeeder client command:

sudo speederv2 -c -l0.0.0.0:3333  -r38.54.84.167:8855 -f20:10
wangyu- commented 9 months ago

have you added route exceptipn as in this guide:

https://github.com/wangyu-/UDPspeeder/wiki/UDPspeeder-openvpn-config-guide