Replace my old VPN-setup #66
Unanswered
joachimtingvold
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Stumbled across this project by happenstance while I was in the middle of figuring out my "VPN situation". For several years I've used a commercial enterprise VPN-solution (GlobalProtect towards my Palo Alto firewalls at home), but as that has gotten more unstable as of lately, and also not being very flexible for some of my needs,
nylonlooks like a potential replacement. Specifically it seems to solve several things that "irks" me with Tailscale/headscale:nylonis not possible, but where the device has native Wireguard support)For a while it looked like NetBird was a good candidate, but unfortunately it doesn't have IPv6-support, which I need.
The topology for my setup would be something like below. Arrows shows connection direction (i.e. anything with an arrow pointed to it, will accept incoming connections on the
nylonport). Some are one-way, others in both directions.graph LR vps[VPS]; phone[Phone w/ Wireguard]; 4g[4G router w/ Wireguard]; p1[Prefix A]; h1a[Home #1 A]; laptop[macOS laptop]; h1b[Home #1 B]; h1c[Home #1 4G]; p2[Prefix A+B+C]; vps ~~~ phone; phone --> |60ms| vps; vps ~~~ 4g; 4g --> |60ms| vps; 4g --- p1; vps ~~~ h1a vps ~~~ laptop vps ~~~ h1b vps ~~~ h1c h1a <--> |40ms| vps; laptop --> |10ms| h1a; laptop --> |40ms| vps; laptop --> |10ms| h1b h1b <--> |40ms| vps; h1c ---> |60ms| vps; h1a & h1b & h1c --- p2 classDef whiteFill fill:white; class p1,p2 whiteFill;I do have a couple of questions;
nylonto connect/reconnect on macOS via thelaunchctl plistsetup? I'm thinking when you switch WiFi-networks, switch to phone-sharing, connect/disconnect wired, waking the machine from sleep (opening the lid), etc?nylonconfigure the DNS-servers of the client? (i.e. not just what DNSnylonitself uses, but what the client/system uses?). Tailscale/NetBird/etc does this, so that if you run your own DNS-servers, the client/laptop will always use these (routed over the VPN), rather than whatever they receive via DHCP/etc.nylon, so that it will always prefer the routes coming fromHome #1 AandHome #1 B, before choosing4G router, regardless of the latency to these nodes? (and only choose4G routerif bothHome #1 AandHome #1 Bbecomes unavailable).nylon? For the purpose of this discussion, let's assumeHome #1 AandHome #1 Bruns BGP towards my firewalls, and I wan't to announce any routes learned via BGP intonylondynamically? (or via some script/hooks/similar).Beta Was this translation helpful? Give feedback.
All reactions