VPN server on router or within home network?
-
It does some UDP fuckery to bypass NAT and firewalls
I wouldn't be surprised if they use hole punching. It's an old but effective technique which Skype famously used back in its heyday.
It's based on hole punching, but with extras. The clients punch a hole in their respective firewalls then the service connect the holes so the clients end up communicating directly with each other. They have a lengthy blog post about NAT traversal.
-
I have wireguard on my router. To me it makes sense. If my router is down, nothing inside my network is reachable anyway. If I'm going through my router, anything inside my network can be rebooted without effecting my connection. That said, I'm really considering using Pangolin https://github.com/fosrl/pangolin, and hosting it in Oracle Cloud. If you don't know, Oracle Cloud has an extremely generous free tier. As much as I generally hate Oracle, I still recommend their free tier.
Oracle??!!
-
A jump host is just a system that serves as an exit point into the restricted network. You can do this with Ubuntu desktop but you need to figure out how you are going to jump into your host. Others have mentioned tail scale and head scale as options for doing this. Tailscale would be an example of an agent based adhoc vpn solution; this would place a dependency on an external provider to host a connection broker service and use an agent that periodically checks into the broker service for connection requests. Headscale would be the self hosted option and you would need to forward a port into your network and you should guard it with a reverse proxy.
Great, understood. Thanks a lot!
-
Oracle??!!
Yeah... I know it's insane. But they give you 4 arm cores, 24GB RAM, 200GB of storage in their always free tier.
-
It does some UDP fuckery to bypass NAT and firewalls
I wouldn't be surprised if they use hole punching. It's an old but effective technique which Skype famously used back in its heyday.
It does a few techniques depending on the type of network and security obstacles. They posted an article on it that's interesting.
I'd also check out pangolin or headscale like others recommeded though since you're already looking to self-host.
-
Running piHole on a NAS, so would avoid adding another device. Adding a trusted router works already increase the device count.
(My rPi1 is connected to my PS2 and hosts all my ISO files from USB via Ethernet so no discs are required and loading is faster )
I just don't want my NAS doing anything other than being a NAS, so I intentionally don't run extra services there, but its a matter of finding what works for you. As long as you get to the destination you're looking for, its mission accomplished
-
Oh, I must have completely misunderstood what Pangolin is for. Is Pangolin like a replacement for Cloudflare tunnels in that case?
Yeah, basically. It does bundle wireguard so that it can reverse proxy services over that. That’s probably what you were thinking of.
-
Yeah, basically. It does bundle wireguard so that it can reverse proxy services over that. That’s probably what you were thinking of.
Okay, it's been a while since I first heard of it. I misremembered. So, it would be cool to have a vps with Headscale and Pangolin.
-
Running piHole on a NAS, so would avoid adding another device. Adding a trusted router works already increase the device count.
(My rPi1 is connected to my PS2 and hosts all my ISO files from USB via Ethernet so no discs are required and loading is faster )
This is a little off topic but would you mind sharing how you use your pi to serve ISO’s to your ps2?
-
Hi,
looking for some advice to set up a VPN server to get into my home network when traveling.I have a NAS and an openWRT AP within the network. My router is provided by the ISP and with a built-in VPN.
Being a hobbyist in networking, I would like to tab your brains for suggestions and know how:Should I get my own router to run a wireguard VPN off the router directly, i.e. on the edge of the network, OR run a VPN service off the openWRT AP or the NAS, i.e. from within the home network?
Thanks a lot for your help!
I use wireguard on my openwrt router
-
This is a little off topic but would you mind sharing how you use your pi to serve ISO’s to your ps2?
See the good explanation in the video.
Note: there are new MemCard mids yo play directly off a SD card, see his more recent videos.
-
I just don't want my NAS doing anything other than being a NAS, so I intentionally don't run extra services there, but its a matter of finding what works for you. As long as you get to the destination you're looking for, its mission accomplished
I have many containers running on it, for media services, data syncs etc. Enjoying it
-
I don't understand, each compute unit gets their own IP right?
Yes but you can get two free instances under the same account.
-
Yes but you can get two free instances under the same account.
You can get 4 if you make them 1 core each.