Dear Forum!
I have openvpn link running which i am routing port into the tunnel to oner machine on the other end.
Both end of the tunnel is a Debian machine, handling the traffic. The data passing through is mixed up.
So some small one will be inbetween also. Yes i know about the payload and overhead storry.
Are there tricks / methods to improve the issue. I have about douple lineload vs tun load, see screenshot.
For testing i blocked all traffic on eth0 which is not on port 31000 which is my openvpn connection port.
This way i am sure "no other" traffic are misleading in my data. I enabled comp-lzo because machines are powerfull enough on both ends.
Without Tunnel it is about 1300kb/s in an out total.
As You can see my openvpn "douples" the traffic. I routet all the traffic outside the tunnel an came to the same result.
ServerConfig:
port 31000
proto udp
dev tun4
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/Server.crt
key /etc/openvpn/keys/Server.key
dh /etc/openvpn/keys/dh2048.pem
server 10.8.5.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/log/tun4_34791_udp_gateway_ipp.txt
status /etc/openvpn/log/tun4_34791_udp_gateway_status.log
keepalive 5 30
cipher AES-256-CBC
auth SHA512
verb 3
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
comp-lzo
ClientConfig:
client
tls-client
dev tun10
proto udp
remote TheTarget.ip 31000
resolv-retry infinite
nobind
pkcs12 /etc/openvpn/thekeyfile.p12
verb 3
cipher AES-256-CBC
auth SHA512
remote-cert-tls server
script-security 2
up /etc/openvpn/scripts/ausgang.sh
comp-lzo
Version:
openvpn --version
OpenVPN 2.3.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Oct 26 2014
library versions: OpenSSL 1.0.1e 11 Feb 2013, LZO 2.06
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_crypto=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_http_proxy=yes enable_iproute2=no enable_libtool_lock=yes enable_lzo=yes enable_lzo_stub=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=no enable_pedantic=no enable_pf=yes enable_pkcs11=no enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_socks=yes enable_ssl=yes enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_win32_dll=yes enable_x509_alt_username=no with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_plugindir='$(libdir)/openvpn/plugins' with_sysroot=no
Thanks for reading until that point!
derdigge