I have OpenVPN Server on Debian 10 for individual purposes. When i connecting to the server from PC, i have internet connection. But from my xiaomi, after tcp connection established, there is no input traffic from the server.
tcpdump on server and openvpn app(visualisated data, idk how can i check it better) showed that packages do not arrive on both sides. On PC and phone there is a one provider. And via free vpn apps from gplay i understood that OpenVPN protocol is not blocked by provider. Configurations below:
server.conf
port 2624
proto tcp
dh none
dev tun
ca keys/ca.crt
cert keys/issued/vpn.crt
key keys/private/vpn.key
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
push "redirect-gateway def1 bypass-dhcp"
max-clients 5
tls-auth keys/ta.key 0
cipher AES-256-CBC
persist-tun
persist-key
status openvpn–status.log
log openvpn.log
keepalive 5 100
verb 9
client.ovpn(similiar for pc and mobile, but certs is not similiar)
client
remote *serverip*
port 2624
dev tun
proto tcp
nobind
resolv-retry infinite
redirect-gateway def1 bypass-dhcp
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
verb 3
*ca,cert,key,tls here and correct*
Mikhail Babushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.