How Beta is Wireguard now?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Tue Sep 29, 2020 8:14    Post subject: How Beta is Wireguard now? Reply with quote
What sort of issues are there with it or is it basically all good?

I am using PIA and a r7000.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Sep 29, 2020 8:23    Post subject: Reply with quote
I have been using it for some time and it works without any problem, I Use commercial providers (KeepSolid and Azire) and host my own WG server to connect with Android phones and windows clients.

Speed is over three times OpenVPN.

Unfortunately PIA does not support it (yet?) on the router.

Drawback when using a commercial WG provider you use a static IP so are more "traceable" (some provider are hiding this by creating an extra NAT layer)

So if privacy is a major concern stick with OpenVPN otherwise WG is fine.

See my signature for some links

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Tue Sep 29, 2020 11:57    Post subject: Reply with quote
Do you mean you can't change internal or external IP at all? I would guess the PIA system works the same as their port forward, when you ask for a new access token that also gives you new IPs like it does a port.

PIA seems to be supporting WG on other devices now. They have just released some scripts for port forwarding and connecting with WG on linux devices and ddwrt in particular. I can't say I could make them work for the port forwarding when I tried earlier, but I could probably now as I was missing some binaries.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Sep 29, 2020 12:34    Post subject: Reply with quote
You get a fixed ip address from your provider so they know your ip address.

Openvpn will get you a dynamic ip address

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 9157

PostPosted: Tue Sep 29, 2020 16:49    Post subject: Reply with quote
Caveat emptor.

What makes WG different is that unlike OpenVPN and most other VPNs that run in user-space, it runs in the *kernel*, giving it a significant speed advantage (place OpenVPN in the kernel and you'd see similar performance improvements). But that's a double-edged sword. It also means that if there are unknown vulnerabilities, it has the *potential* to lead (at least in the worst case) to remote code execution!

It's also simpler because it eliminates certain functionality, like bridged tunnels. But ironically, bridged tunnels are actually simpler to implement, at least when dealing w/ your own VPN server. It's all the routing and firewall issues w/ routed VPN tunnels that cause the headaches. And I suspect w/ time, feature-creep will set in and it will become as bloated and complex as every other VPN.

Basically, WG is being given *privileged* status in Linux. Why, I don't know. As I said, OpenVPN (and any other VPNs) could benefit similarly from such privileged status. But you usually don't do this because of the risk of opening the kernel to corruption.

I'm NOT saying don't use it. But you need to be aware that in the real-world, WG is far from proven. Given the small user base so far (at least compared to something like OpenVPN), it's currently not much of a target, and whether it's free of such vulnerabilities remains an open question. Only time will tell. Anyone using it today should consider themselves an early adopter, and all that implies.

_________________
ddwrt-ovpn-split-basic.sh (UPDATED!) * ddwrt-ovpn-split-advanced.sh (UPDATED!) * ddwrt-ovpn-client-killswitch.sh * ddwrt-ovpn-client-watchdog.sh * ddwrt-ovpn-remote-access.sh * ddwrt-ovpn-client-backup.sh * ddwrt-mount-usb-drives.sh * ddwrt-blacklist-domains.sh * ddwrt-wol-port-forward.sh * ddwrt-dns-monitor.sh (NEW!)
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Tue Sep 29, 2020 22:22    Post subject: Reply with quote
It is given privileged status because like most things kernal Linus took to liking it. It is coded very well and small, things most will appreciate.

I dont see any reason in theory you cant change ip. Even if you have static routes setup they could implement a system to change them.
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Sat Oct 16, 2021 21:24    Post subject: Reply with quote
From what I have seen now I have made a wireguard connection
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330429&start=15
pia gives you a new internal ip when you generate a new connection. The external ip must be shared.


Last edited by portsup on Sat Oct 16, 2021 21:42; edited 1 time in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sat Oct 16, 2021 21:33    Post subject: Reply with quote
I still cannot believe someone over at FreshTomato even thought porting WG to Linux 2.6 was a good idea. Definitely not, IMHO. And it's not even being maintained. Sorry, my Tourette's almost kicked in.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Sat Oct 16, 2021 21:45    Post subject: Reply with quote
Thats an old kernel. You never know what obscure hardware it's running on. I might be something military or nasa and they now want the power of wireguard lol
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sat Oct 16, 2021 23:32    Post subject: Reply with quote
I guess the words "FreshTomato" (firmware) just got completely ignored or glazed over. Most WiFi5 router stock firmwares use a Linux 2.6 kernel. There's a lot of things that still use, or did use a Linux 2.6 kernel until recently.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Wed Oct 27, 2021 6:53    Post subject: Reply with quote
On other news and while I stumbled on this post.

Just today a wireguard patch went in, this was authored by egc

https://github.com/mirror/dd-wrt/pull/76 for information on what it addresses.

respective merge upstream https://svn.dd-wrt.com/changeset/47602 and follow up commits.

up to and including https://svn.dd-wrt.com/changeset/47605

have a nice one, be well.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Wed Oct 27, 2021 14:32    Post subject: Reply with quote
interesting thanks
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