this post was submitted on 18 Aug 2025
483 points (98.8% liked)

Technology

75630 readers
2646 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] stsquad@lemmy.ml 135 points 1 month ago (2 children)

Because OpenVPN is fiddly to set up and modern Wireguard setups seem to scale well enough.

[–] Magister@lemmy.world 71 points 1 month ago (2 children)

I remember maybe 12-15 years ago, setting OpenVPN on my TomatoUSB flashed router, invoking all kind of openssl command to generate certificates, keys, signing stuff, setting the router, setting the TAP/TUN clients etc. but once setup it works for years on my laptop, phone, etc.

Now with WG I basically scan on my phone a QR code generated on my Merlin router and that's it.

[–] WhyJiffie@sh.itjust.works 11 points 1 month ago (1 children)

merlin has built-in wireguard support??

[–] Magister@lemmy.world 17 points 1 month ago* (last edited 1 month ago)

yes for a long time now

[–] interdimensionalmeme@lemmy.ml 8 points 1 month ago (2 children)

Try openwrt, ddwrt is cancer.

[–] caseyweederman@lemmy.ca 7 points 1 month ago (1 children)
[–] interdimensionalmeme@lemmy.ml 12 points 1 month ago* (last edited 1 month ago) (1 children)

I used to use ddwrt until I didn't have a router (forced by cablemodem that I couldn't modify)
But then I got fiber with a bridge and discovered OpenWRT and it was so incredible.
So much more capable and such a better more competent community.
Much more competent and ethical leadership that doesn't violate the GPL.

How it works, just made more sense to me, there are so many feature I never want to lack in a router and frankly I wish I had in every linux distro.
One of my absolute favorite thing about it, is that anything you click in the web interface, is a command run in the underlying system.

Here I am setting a DHCP tag, which makes it so that all computers with a certain MAC address will receive a non-routing gateway, cutting them off from the internet. I use this to stop my TVs and VMs from connecting to the internet without having to deal with a bunch of static IP addresses and that whole firewall tedium.

Notice how it's giving me the exact commands

And the WebUI shows you all the commands before they run it. Not only that makes understanding how the system works underneath. It makes it very easy to reproduce all the same configuration using bunch of commands you can paste from a text file !

Recently I wanted to turn older such routers into dumb wifi access points and they were all mostly the same, so I just flashed them and then ran a series of commands that I learned from the Web UI, with just some things tweaked for each device.

For me that feature alone makes the difference, but also the sketchiness of ddwrt with regards

I think ddwrt gets love because ANYTHING is better than the awful, unreliable stock and locked down web user interfaces on routers. But between ddwrt and openwrt, I think it is no-contest, openwrt is the best choice between those two.

Here is a bunch of articles more about this

https://wi-fiplanet.com/the-dd-wrt-controversy/
https://hackaday.com/2011/09/21/modifying-dd-wrts-protected-gui/
https://ebb.org/bkuhn/blog/2009/12/06/anatomy-gpl-violation.html
https://www.linksysinfo.org/index.php?threads/fresh-tomato-vs-openwrt-vs-dd-wrt.76178/
https://old.reddit.com/r/openwrt/comments/ld05u6/whats_the_difference_openwrt_ddwrt_tomato_opensan/
https://old.reddit.com/r/HomeNetworking/comments/9hk0lm/is_ddwrt_no_longer_recommendedgeneral_opinions_on/
https://www.raspberrypibox.com/dd-wrt-vs-openwrt/
https://news.ycombinator.com/item?id=8060911
https://old.reddit.com/r/HomeNetworking/comments/j5u3kf/why_is_ddwrt_such_a_pain/
https://old.reddit.com/r/linux/comments/3skn25/fcc_we_will_not_ban_ddwrt_on_wifi_routers/

[–] caseyweederman@lemmy.ca 5 points 1 month ago

Huh. Alright, that's pretty convincing. Thanks.

[–] Magister@lemmy.world 2 points 1 month ago (1 children)
load more comments (1 replies)
[–] _cryptagion@lemmy.dbzer0.com 16 points 1 month ago* (last edited 1 month ago) (2 children)

EDIT: it’s been pointed out to me that using NetworkManager for Wireguard setup is shit. Instead use nmcli, this seems to have solved my problem.

I'm using Bazzite Linux with KDE, and for me Wireguard setup is copy/pasting several bits of information on multiple settings pages. OpenVPN is just downloading a single config file and inputting my user/pass.

Also, Wireguard disconnects so often, no matter which distro I'm on, that it's a pain in the butt having to reconnect a few times an hour. Not to mention that I can't have it set to autoconnect on login, or my internet doesn't work until I disconnect and reconnect.

[–] pressanykeynow@lemmy.world 4 points 1 month ago (1 children)

Wireguard disconnects so often

Wireguard is udp, it never "connects", there's no session.

[–] _cryptagion@lemmy.dbzer0.com 3 points 1 month ago

Wireguard disconnects the WiFi.

However, it has been pointed out to me that my problem was using the GUI for NetworkManager to add the VPN, which apparently is shit for Wireguard. I added the VPN using nmcli instead and so far it’s working as intended.

[–] black_flag@lemmy.dbzer0.com 117 points 1 month ago (4 children)

WG was always so much better anyway.

[–] chocrates@piefed.world 44 points 1 month ago (2 children)

Well it was written to replace open VPN right? So that makes sense

[–] corsicanguppy@lemmy.ca 9 points 1 month ago

Don't let openvpn get a swelled head. Itself it was just a Bender project ("I'm gonna write vtun better; with hookers and beer!") anyway.

load more comments (1 replies)
load more comments (3 replies)
[–] killeronthecorner@lemmy.world 88 points 1 month ago (1 children)

Urgh, I don't really have time to do this migration but guess I'm planning it in anyway.

Past me was a lazy bum. But I'm confident that future me is all over this. Time for a nap.

[–] javiwhite@feddit.uk 31 points 1 month ago* (last edited 1 month ago)

Damn you sir, you didn't need to call me out with that last paragraph.

No, I know it wasn't my shoe, but look at how well it fits!

[–] cupcakezealot@piefed.blahaj.zone 26 points 1 month ago (1 children)

mullvad and windscribe are the only two i support <3

[–] Sunshine@piefed.social 4 points 1 month ago (1 children)

Do you have a stance on IVPN?

[–] r00ty@kbin.life 23 points 1 month ago (2 children)

I only have one problem with this. When they say wireguard being crypto opinionated is a good thing. I am weary to agree with that statement entirely.

While it is good for stability (only one stack to support and get right, and to be secure and efficient) I do wonder about overall and future security. Saying "You must use this specific cipher suite because we think it's the best" is a bit of a dangerous road to take.

I say this just because Curve 25519 is considered a very secure elliptic curve, to the best of my very limited knowledge on this subject. But we had a certain dual elliptic curve pseudo random number generator was pushed as "best practice" (NIST backed) some time ago, which didn't turn out so well, even omitting possible conspiracy scenarios, it had known weaknesses even before it was recommended. [1]

Since then I've generally not been a huge fan of being given one option as "the right way" when it comes to cryptography. Even if it is the "best" it gives one target to try to find a weakness in, rather than many.

I say all this as a wireguard user, it's a great, fast and reliable VPN. I just have concerns when the choice of using other algorithms and especially putting my own chosen chain together is taken away. Because it puts the exact same target to break on every one of us, rather than having to work out how to break multiple methods and algorithms and multiple combinations.

[1] https://en.wikipedia.org/wiki/Dual_EC_DRBG

[–] reisub@discuss.tchncs.de 35 points 1 month ago (1 children)

I think the idea behind opinionated cryptography is not only the idea of "We think this is the best, so you have to use it", but most importantly it removes all requirements of the protocol supporting cipher negotiation. This makes the protocol much simpler, easier to audit and as a result more secure. And if the cryptography in the protocol ever shows a weakness, then Wireguard v2 needs to be released as a breaking change. See all the SSL/TLS versions

[–] r00ty@kbin.life 15 points 1 month ago (2 children)

Yep. I entirely agree about the good points. I am just always weary about removing options like this, regardless of intention.

I'd be fine if for example I'm running my own wireguard implementation, I could choose the suite to use, not negotiate anything and ensure my client has the same configuration.

I'd probably not use it, but I like the option, and knowing that anyone that wants to try to break this now also needs to guess what options I'm running.

[–] deur@feddit.nl 10 points 1 month ago

No. You are making assumptions about security and ultimately assuming you're the only one who thought this along the way.

[–] FauxLiving@lemmy.world 8 points 1 month ago

knowing that anyone that wants to try to break this now also needs to guess what options I’m running.

Unless your security model has you being specifically targeted by advanced threat actors, the most likely scenario is that you’ll be affected by randomly discovered security vulnerabilities and not individuals tailoring an attack for your configuration.

Obfuscation of your configuration doesn’t add much security and using obscure settings could just as easily result in security vulnerabilities of their own. Vulnerabilities which, due to the obscurity of your configuration, may not be discovered by white hats for much longer.

I know that, if wireguard is exploitable, it’s very unlikely to be me that would be targeted. There are larger and more lucrative targets acting as honeypots for everyone else.

[–] pishadoot@sh.itjust.works 4 points 1 month ago (1 children)

Even if it is the "best" it gives one target to try to find a weakness in, rather than many.

It sounds as if you're falling prey to the allure of security through obscurity.

I'd like to remind you of Kerckhoff's Principle.

a cryptosystem should be secure, even if everything about the system, except the key, is public knowledge

What this is saying is that in a secure cryptosystem all you need to secure is the key.

Curve 25519 is, for the time being, considered a secure cryptosystem. It's likely that in the future it will become obsolete, but we're not there yet. When we get there WG will port to a new cipher that is more secure.

Even if you set your configs to not negotiate, just the fact that the stack COULD negotiate opens you up to downgrade attacks. Also, anybody trying to connect would get some kind of hello/response traffic that would broadcast your (non negotiable) configs, so what do you gain from being able to choose, except the ability to make mistakes?

[–] r00ty@kbin.life 2 points 1 month ago (3 children)

Well, I did think the "security through obscurity" line would come up. But that's really something that should be reserved for people making their own "triple XOR" crypto implementations closed source and hoping that protects them.

The "obscurity" if it's the term we want to use here in my use case isn't hiding using closed source to provide a perception of security. It's just giving a choice of crypto, but not adding to the protocol with negotiation.

My thinking is this, and we'll look at say ssh. We can choose between multiple key types and lengths for that. Now let's say for example ed25519 is compromised (in real terms I think the only likely compromise for any of the ssh key based auth options would be deriving a private key from the public key, so the "scanning" I talk about is a fantasy. But I'm going with it!). For ssh, there will for sure be bots hunting the internet for vulnerable ssh servers very soon after. Automating the process of getting in, installing whatever nefarious tools they want and moving on. But, crucially they will only get those that have used ed25519 for their auth key login. However they might well get every single wireguard vpn.

I'm really just advocating for the same option really. The option to not use the same as everyone else. With no reduction in security for anyone else and no need to negotiate, the onus would entirely be on the operator to ensure the same stack is configured on client and server. Of course with the understanding that using any other stack is at your own risk. E.g. "triple XOR" security might not be the best, for example :P

Oh and as I said, I doubt I would use it. I use wireguard as it is, I like wireguard as it is. But, I feel like having options is not a bad thing, provided the default is the "best" option currently known.

load more comments (3 replies)
[–] JustARaccoon@lemmy.world 17 points 1 month ago (1 children)

A bit annoying for all the things that don't support openvpn, like old Synology NAS devices.

[–] theherk@lemmy.world 15 points 1 month ago (1 children)
[–] JustARaccoon@lemmy.world 7 points 1 month ago* (last edited 1 month ago)

Oh that's interesting, though my model isn't on the list ;(

[–] Imgonnatrythis@sh.itjust.works 13 points 1 month ago (4 children)

Bummer. For whatever reason I always get much better speeds on openvpn servers.

[–] AbidanYre@lemmy.world 48 points 1 month ago

That's not something you hear very often.

[–] henfredemars@infosec.pub 19 points 1 month ago

That’s very strange. WireGuard was specifically created in part because of speed limitations.

[–] Sibyls@lemmy.ml 12 points 1 month ago (1 children)

Sounds like an issue with your network or routes. By design, WG is faster.

[–] Imgonnatrythis@sh.itjust.works 2 points 1 month ago (2 children)

I'm sure it is, Im just not sure where to start and I get pretty decent speeds on open vpn. I guess now I'm going to have to try to figure it out

[–] pressanykeynow@lemmy.world 3 points 1 month ago

Try lowering MTU, just don't lower it too much.

[–] Sibyls@lemmy.ml 1 points 1 month ago (1 children)
[–] Imgonnatrythis@sh.itjust.works 2 points 1 month ago

Still just wish mullvad would stop subtracting. First port forwarding and now this. 😕

[–] Kyle@lemmy.ca 6 points 1 month ago (1 children)

Only the opposite has ever happened for me.

load more comments (1 replies)
[–] drath@lemmy.world 3 points 1 month ago

This post makes it look like there's something serious ly wrong with openvpn, but it's just them not wanting to deal with it and deprecating it.

Oh well, guess Ill put a note not to use them. My country blocks VPN protocols and wg specifically, so for my usecase I need as many protocols supported as possible, preferrably mimicking other innocuous protocols.

[–] Sir_Kevin@lemmy.dbzer0.com 1 points 1 month ago

Good! That shit needs to be phased out.

load more comments
view more: next ›