[SOLVED] OpenVPN 2.6.0 problem

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
pupeto
DD-WRT Novice


Joined: 28 Sep 2018
Posts: 29
Location: Buenos Aires, Argentina

PostPosted: Sun Feb 19, 2023 13:59    Post subject: [SOLVED] OpenVPN 2.6.0 problem Reply with quote
Estimados

I want to thank Alozaros for his help.

I also want to apologize for my English. If something is not understood please let me know that I try to explain it in another way.

Since the builds with OpenVPN 2.6.0 I cannot use OpenVPN with Torguard VPN. I tried to consult with the Torguard support but they have not been able to solve it.

DD-WRT Builds with OpenVPN 2.5.8 or lower version works ok

DD-WRT Builds with OpenVPN 2.6.0 it does not work.
Status OpenVPN: Client: CONNECTED SUCCESS
But there is no internet connection.

I tried adding to "Additional Configuration" (Thanks Alozaros)

pull-filter ignore "dhcp-option DNS6"
pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"
pull-filter ignore "redirect-gateway ipv6"
block-ipv6

And change
Tunnel Protocol to UDP4
But it still doesn't work


My settings and logs







Gracias

Edit: Response from Torguard support

"play with compression setting please, try setting it to no, and to comp-lzo if any diff"
"with openvpn 2.4 it was negotiating compression with backend, for 2.6 you need to set it to no"

With Compression NO. works ok



Last edited by pupeto on Tue Feb 28, 2023 12:48; edited 2 times in total
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Mon Feb 20, 2023 6:58    Post subject: Reply with quote
Plenty of deprecated options in 2.6 reference manual.

--disable-occ
--cipher
--compress
--comp-lzo
--comp-noadapt
--secret
--opt-verify
--verify-hash
--link-mtu

https://community.openvpn.net/openvpn/wiki/DeprecatedOptions since 2.6:

--keysize
--ncp-disable
--inetd
--management-client-pf
--prng

https://openvpn.net/community-resources/reference-manual-for-openvpn-2-6/#unsupported-options since 2.5:

--client-cert-not-required (replaced with --verify-client-cert none)
--ifconfig-pool-linear (replaced with --topology p2p)
--ncp-ciphers (renamed to --data-ciphers)

--key-method
--no-iv
--no-replay
--ns-cert-type
pupeto
DD-WRT Novice


Joined: 28 Sep 2018
Posts: 29
Location: Buenos Aires, Argentina

PostPosted: Mon Feb 20, 2023 20:32    Post subject: Reply with quote
blkt wrote:
Plenty of deprecated options in 2.6 reference manual.

--disable-occ
--cipher
--compress
--comp-lzo
--comp-noadapt
--secret
--opt-verify
--verify-hash
--link-mtu

https://community.openvpn.net/openvpn/wiki/DeprecatedOptions since 2.6:

--keysize
--ncp-disable
--inetd
--management-client-pf
--prng

https://openvpn.net/community-resources/reference-manual-for-openvpn-2-6/#unsupported-options since 2.5:

--client-cert-not-required (replaced with --verify-client-cert none)
--ifconfig-pool-linear (replaced with --topology p2p)
--ncp-ciphers (renamed to --data-ciphers)

--key-method
--no-iv
--no-replay
--ns-cert-type

Estimado
I have another problem

Builds DD-WRT OpenVPN 2.5.8 Compression : Disable (everything works ok)
Builds DD-WRT OpenVPN 2.6.0 Compression : Disable(Does not connect)

Builds DD-WRT OpenVPN 2.6.0 Compression : NO (Connects but partially works. Most websites don't load. Streaming not working)

Do you know if it is necessary to change other settings for OpenVPN 2.6.0 and Torguard VPN?

Muchas gracias
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 707
Location: Earth

PostPosted: Wed Feb 22, 2023 9:30    Post subject: Reply with quote
If your not using a TLS Key, change TLS Auth to NONE or put TLS key in correct field!!
Set the Hash Algorithm to SHA256
Not affecting running of your VPN but remove: persist-key & persist-tun, This gets added in config for you.
Hopefully this will get it working correctly again

_________________
Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.

No one can build you the bridge on which you, and only you, must cross the river of life!
pupeto
DD-WRT Novice


Joined: 28 Sep 2018
Posts: 29
Location: Buenos Aires, Argentina

PostPosted: Thu Feb 23, 2023 14:08    Post subject: Reply with quote
foz111 wrote:
If your not using a TLS Key, change TLS Auth to NONE or put TLS key in correct field!!
Set the Hash Algorithm to SHA256
Not affecting running of your VPN but remove: persist-key & persist-tun, This gets added in config for you.
Hopefully this will get it working correctly again


Estimado foz111:

Thanks for the help.
I forgot to change change TLS Auth to NONE.
Torguard support had me try various configurations. I'm not sure which one is correct anymore.

Laughing Laughing Laughing

Torguard support told me to use:
Hash Algorithm SHA1
Compression: Adaptative
With these changes the VPN connects and all the web sites and steraming apps work. Only this error shows the logs:
Feb 23 04:01:57 181.81.XX.XXX openvpn: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Feb 23 04:01:57 181.81.XX.XXX openvpn: SIGUSR1[soft,tls-error] received, process restarting

Gracias
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 707
Location: Earth

PostPosted: Thu Feb 23, 2023 18:51    Post subject: Reply with quote
It's been that long since I used torguard maybe its changed, don't you create your own config (ovpn file) in there UI? These settings must match in your router.
If you can download an OVPN file from torguard, just start a fresh in DD-WRT and use the Import Configuration feature that is now in recent builds at the bottom. (Thanks go to egc Bs and others for this feature)

_________________
Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.

No one can build you the bridge on which you, and only you, must cross the river of life!
DWCruiser
DD-WRT User


Joined: 15 Aug 2016
Posts: 223
Location: Melbourne, Australia

PostPosted: Tue Feb 28, 2023 5:34    Post subject: Reply with quote
I also experienced connection issue with OpenVPN Client to PIA from r51679.

My search so far points to ipv6 issues as embedded in DDWRT implementation. If i allowed for it, the Client is connected to PIA, but then the Server ignores incoming connection. Mad

I have both OpenVPN Client and Server on the router. They are running fine in r51440. As a result, i have not been able to update to later versions.

In case anyone needs to know, i added to the 'Additional Configuration' box, under OpenVPN Client section on the router:

pull-filter ignore "route-ipv6"
pull-filter ignore "ifconfig-ipv6"
block-ipv6


(The above info is from egc's guide of 'DDWRT OpenVPN Server Setup guide v30')

_________________
Life is a journey; travel alone makes it less enjoyable and lonely.
pupeto
DD-WRT Novice


Joined: 28 Sep 2018
Posts: 29
Location: Buenos Aires, Argentina

PostPosted: Tue Feb 28, 2023 12:46    Post subject: Reply with quote
thanks for your help

DWCruiser
foz111
blkt
Alozaros

Now it works well.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum