this post was submitted on 11 Mar 2025
11 points (86.7% liked)

Ask Lemmy

29606 readers
1337 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/26434369

I want to compare the security of running my own:

  • Wireguard server
  • http proxy
  • socks5 proxy
  • Shadowsocks proxy

I currently port forward for wireguard, but would like some backups/alternatives, and censorship circumvention options. How risky or insecure are these protocols? Can I use them as normal VPNs into my homelab?

Any resources to research further?

Also: should I use my IP, or a domain? Which is better for censorship circumvention?

you are viewing a single comment's thread
view the rest of the comments
[–] rockstarmode@lemmy.world 2 points 18 hours ago* (last edited 18 hours ago)

I'm following for responses here, great questions!

I don't know much about the security of running those services relative to each other, but I have some practical experience.

I ran sshd for decades, and pushed a local socks tunnel through it to emulate VPN. I initially chose this route because it worked on all desktop OS and Android without needing to figure out all of the client VPN software, and I already had SSH everywhere.

In the last couple of years Wireguard became natively available on my network equipment (UniFi Ubiquiti) so I moved all of my client devices over and closed down the external SSH port. I connect to it using IP, but use Syncthing to keep my host IP updated in case it changes, which has happened exactly once in the last 7 years (I used this mechanism when I was running ssh as well). I've been very happy.

Performance relative to socks over SSH is better. Client resource usage is lower (mainly looking at battery life), so much so that all my client devices (even mobile phones) run Wireguard always turned on. Fewer networks block Wireguard than SSH (I used to have to run ssh over DNS ports with other trickery to get around hotel and airplane wifi restrictions).

I now carry a small wifi router in my travel kit that bridges/clones connections to public wifi and runs Wireguard natively so every device I care about can just jump on that while I'm traveling. I only have to connect it to public wifi and no longer have to mess with the rest of my devices. I can even run Chromecast and stream media from my home while connected to a hotel TV. It's all very seamless.