• 0 Posts
  • 45 Comments
Joined 3 years ago
cake
Cake day: February 1st, 2024

help-circle
  • Just in terms of my Internet setup, I run a VPS wireguard endpoint connected to home LAN for all traffic.

    Home LAN (heavily VLAN’d and whatnot) routes traffic through one of my 5 mullvad interfaces. DNS via Technitium, upstream servers via mullvad.

    Added latency/reduced performance, since now even my phone has to route internet requests through my home server, but the benefit is simplicity once set up: single wireguard setup for LAN access+privacy from a phone, and from my LAN the exit nodes are configured through a dashboard — client can be a phone, TV, laptop, whatever connected over Ethernet or wifi. “WG Tunnel” on Android to auto connect WG when not on LAN.



  • Great! 2) is straightforward, and most folks probably recommend running wireguard, either on a computer or your router. Generally the tricky part is dealing with not having a static IP. Even worse you may be CGNAT’d. My solution to this is to use a VPS with a static IP as a hub, so connecting to home has a hop there. This is all common practice.

    For 1), this is technically easy — I can route my traffic through my VPS as an exit node. But, it’s pointless because while my ISP doesn’t see my traffic, my VPS provider does, and they know who I am (also, against ToS to use my VPS that way). You need to find a way to get exit nodes with an acceptable amount of privacy.

    My privacy VPN solution is to use mullvad on a computer in my home. I can steer any LAN client, and any “road warrior” client (like my phone connected to my home as described), over any of 5 mullvad interfaces (mullvad allows 5 local peers). I can also change the remote peers of course, no limit on that. End result is that so long as I can use wireguard into my VPS, I have access to both my home, and privacy exit nodes more or less anywhere in the world. But, I do not have any control over mullvad’s servers, which it sounds like you want.



  • The tech stack, sure. But if you want to host your own privacy VPN, that’s a very different situation (rent rack space, preserve your privacy… technical part is easy, but getting privacy preserving stuff is a different situation).

    Either OP wants to do that — implement mullvad/nord/proton on their own — or they just want to open a port and run WireGuard on a home router/computer. Very different tasks, but yeah, they both use the same tunnel and require some routing.


  • OP wants to “host their own VPN,” so yes, they mean something completely different: do you want to rent rackspace and exit nodes that preserve your privacy? Or, do you want to run WiteGuard on your router/computer so you can access LAN services remotely?

    Yes a privacy VPN and a corporate/homelab VPN both use the same tech stack, but functionally they mean two different things.


  • In your original post, many of the responses are essentially, “can you clarify what you actually want?” which (as of now) are unanswered.

    The term “VPN” refers to two completely different concepts (though they are related by a common technology): privacy VPNs, and corporate/intranet VPNs. Both use similar technology stacks, but actually running your own is totally different between the two.

    If you don’t want to be considered rude, then do the research to pose your question precisely, or when asked for clarification, describe exactly what it is you’re trying to accomplish, along with your preliminary ideas on how to accomplish that.


  • VNC? You have your choice of servers, and clients are ubiquitous.

    A big gotcha is that you need to be careful with encryption/security, as in classic UNIX style VNC does one thing (remote desktops). It’s easy to forward over ssh though.

    You can also use VNC to share, which is not what you want; this depends on the type of server/settings. But you can definitely create a new virtual X11 session and access it remotely.






  • nc is useful. For example: if you have a disk image downloaded on computer A but want to write it to an SD card on computer B, you can run something like

    user@B: nc -l 1234 | pv > /dev/$sdcard

    And

    user@A: nc B.local 1234 < /path/to/image.img

    (I may have syntax messed up–also don’t transfer sensitive information this way!)

    Similarly, no need to store a compressed file if you’re going to uncompress it as soon as you download it—just pipe wget or curl to tar or xz or whatever.

    I once burnt a CD of a Linux ISO by wgeting directly to cdrecord. It was actually kinda useful because it was on a laptop that was running out of HD space. Luckily the University Internet was fast and the CD was successfully burnt :)







  • xscreensaver of course! Note that this is not an option on Windows—jwz hates Microsoft, and any xscreensaver port to Windows is against his wishes.

    I use yabai and sketchybar for a tiling WM feel. It’s nowhere as nice as my preferred i3, but it’s ok. Unfortunately it often breaks with major OS updates, so I’m sure to hold back updating my system until yabai is working.

    IIRC sshfs will work on macOS but it’s more work to install. Worth it if allowed by your IT policies and your work can benefit from it.

    Vim, tmux, and the usual *NIX stuff you might want.

    The coreutils are not the GNU coreutils you typically find on a Linux system, so you may find a few differences. I believe sed is slightly different, and the flags for ls must be before the filename arguments, but I’ve found it’s mostly silly stuff like that (I used zsh before using macOS, so no problem there).