buildv1 Gents, Have a problem with my OpenVPN community version. The connection is working I can see the the remote network, but have may packet loss during using of connection. At the same time to verify I have installed OpenVPN AS server and it works perfect without any network delays. is there someone encountered to that problem. My configs below: port 1194 proto udp dev tun ca /etc/openvpn/server/ca.crt cert /etc/openvpn/server/server.crt key /etc/openvpn/server/server.key dh /etc/openvpn/server/dh.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "route 192.168.87.0 255.255.255.0" keepalive 10 120 cipher AES-256-CBC user nobody group nobody persist-key persist-tun status /var/log/openvpn/openvpn-status.log log /var/log/openvpn/openvpn.log verb 3 client config: client dev tun proto udp cipher AES-256-CBC remote x.x.x.x 1194 resolv-retry infinite auth-user-pass nobind persist-key persist-tun verb 3 iptables rules: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o ens192 -j MASQUERADE
TinCanTech It could be something to do with MTU or something else .. but it's all guess work without evidence. Perhaps you can provide some data about your packet loss ..
buildv1 ping of trouble OpenVPN equest timeout for icmp_seq 860 Request timeout for icmp_seq 861 1480 bytes from 192.168.87.1: icmp_seq=862 ttl=63 time=77.769 ms Request timeout for icmp_seq 863 1480 bytes from 192.168.87.1: icmp_seq=864 ttl=63 time=85.667 ms Request timeout for icmp_seq 865 Request timeout for icmp_seq 866 Request timeout for icmp_seq 867 Request timeout for icmp_seq 868 Request timeout for icmp_seq 869 Request timeout for icmp_seq 870 Request timeout for icmp_seq 871 Request timeout for icmp_seq 872 Request timeout for icmp_seq 873 Request timeout for icmp_seq 874 Request timeout for icmp_seq 875 Request timeout for icmp_seq 876 Request timeout for icmp_seq 877 Request timeout for icmp_seq 878 Request timeout for icmp_seq 879 Request timeout for icmp_seq 880 Request timeout for icmp_seq 881 1480 bytes from 192.168.87.1: icmp_seq=882 ttl=63 time=95.590 ms Request timeout for icmp_seq 883 Request timeout for icmp_seq 884 Request timeout for icmp_seq 885 Request timeout for icmp_seq 886 ─────────────────────────────────
TinCanTech That does not help at all .. Follow the instructions here: HOWTO: Request Help ! {2} Maybe we can see something useful .. Otherwise, I recommend you use Access server .. if that works for you.
buildv1 Thanks for reply but i don't want to use the prefabricated solution. I would like to understand the the mechanism of OpenVPN configs and networking. what about rcvbuf & sndbuf? is it impacts to the speed?
TinCanTech Openvpn is not losing the packets, the network is .. if packet loss is really the problem .. Anyway, I can't help without log files as shown above.