Not working on OpenVpn 2.5.x :(

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
sgaunauy
OpenVpn Newbie
Posts: 4
Joined: Tue Jun 11, 2019 4:58 pm

Not working on OpenVpn 2.5.x :(

Post by sgaunauy » Thu Jun 03, 2021 5:25 pm

Hi everyone!.

Our Openvpn server config are obsolete i guess.. Windows last "working version" is 2.4.9. Not working on new Iphones and Android.

Could somebody help me, I guess I need to change some parameters.

Linux: Ubuntu 16.04.7
Package: openvpn
Architecture: amd64
Version: 2.3.10-1ubuntu2.2


1.
SERVER CONFIG:
server

local *Public IP*
management 0.0.0.0 10005
cd /var/lib/openvpn
chroot /var/lib/openvpn
float
mlock
reneg-sec 36000
port 6005
proto udp
dev tun6005
ca /etc/openvpn/certs/vpn/ca.crt
cert /etc/openvpn/certs/vpn/GxVPN_Sever2.crt
key /etc/openvpn/certs/vpn/GxVPN_Sever2.key
dh /etc/openvpn/certs/vpn/dh2048.pem
server 10.10.0.0 255.255.0.0
push "route 172.16.0.0 255.255.0.0"
push "route 192.168.254.0 255.255.255.0"
push "dhcp-option DNS 172.16.0.61"
push "dhcp-option DNS 172.16.1.56"
push "dhcp-option DOMAIN anonymous.local"
keepalive 1000 2000
tls-auth /etc/openvpn/certs/vpn/ta.key 0
key-direction 0
cipher AES-128-CBC
auth SHA256
comp-lzo
persist-key
persist-tun
status openvpn-status.log 30
log /var/log/openvpn2020.log
verb 4
crl-verify crl.pem


2.
CLIENT CONFIG:
client

client
proto udp
cipher AES-128-CBC
auth SHA256
dev tun
remote *public IP*
auth-user-pass
auth-nocache
remote-cert-tls server
tls-client
port 6005
resolv-retry infinite
compress lzo
persist-tun
persist-key
persist-remote-ip
verb 3
mute 10
key-direction 1
reneg-sec 36000


Thanks a lot!!!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Not working on OpenVpn 2.5.x :(

Post by TinCanTech » Thu Jun 03, 2021 8:44 pm

Sounds too much like work ..

I'll be out in the garden enjoying the summer sunshine.

Post Reply