Jump to content
Not connected, Your IP: 35.172.230.154
DFC31296

Difference between openvpn and wireguard

Recommended Posts

Dear forum,

when i install the openvpn app and connect with a server in my country, i get, wireless, about 100Mbit/s up and down, while i have a 200Mbit/s fiberspeed connection.
Browsing  to some lan devices, like my NAS is no problem.

However, when i install wireguard and connect with a server in my country, i get, wireless, nearly 180Mbit/s up und down, but i can not browse to my NAS...??????

What is the difference between openvpn and wireguard in this case?

Thanks

Share this post


Link to post

OpenVPN sets an explicit route to the local network via the physical NIC while Wireguard only allows the default gateway via this NIC (needed, of course, for the connection to actually work). The solution would be to change the Wireguard config to allow the local network. I believe it was the AllowedIPs directive; unsure, please look it up in a manpage.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Also re preserving local LAN access in wireguard, see
Finally, you might search online a bit for the difference between "0.0.0.0/0" and the CIDR equivalent "0.0.0.0/1, 128.0.0.0/1" when used (no quotes) as the AllowedIPs field in a wireguard config.  It seems to be a wireguard convention to have the software interpret these logically equivalent specifications differently.  IIRC, the simpler 0.0.0.0/0 version routes all IPs (except the server IP) through the tunnel, but the longer version omits the standard IPs associated with local LANs.  YMMV!  I MAY BE CLUELESS ON THIS ONE.  DO YOUR HOMEWORK!  And if you try the long version, be sure to test DNS and make sure it's still through the tunnel (assuming that's what you are after).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...