3 ms·
Possibly, depending on your use-case. I have a VPN, which is there to tie everything onto one network, regardless of what "real" network its attached to. This
by KaiserPro 7y ago
Possibly, depending on your use-case.
I have a VPN, which is there to tie everything onto one network, regardless of what "real" network its attached to.
This means that if I'm out and about I can still push and pull to my local gitserver, or access the home control systems.
I have it on my phone as well, so I can control localnetwork things even if I'm on 4G
But unless you have machines running on different networks, or you want to access internal things from outside your home, running a VPN may be mostly pointless(save for the fun learning).
- sails 7y agoCan you elaborate on how to access your home VPN network from phone and laptop? I imagine connecting to your home network when on public wifi might be a valid use case, but I haven't investigated how to achieve this effectively.
- ficklepickle 7y agoI did this with an RPI. Setup openVPN server on pi, forward port 1194 to your pi. Run client on phone/laptop to $homeip:1194. My hope IP almost never changes, fortunately. Otherwise you would have to do some sort of dynamic DNS.
- KaiserPro 7y agoThis is a very good starting point. Digitalocean's DNS is free, so you can, at a push create a script to do dynamic DNS, should other systems fail you. For me, I have a dedicated VPN node, Which depending on what I'm doing is either hosted on a VPS, or a physical box. (depending if I can find somewhere with decent network) that is called something like vpn.mydomain.com All other nodes are connected to that. I then use Anisble to manage the keys, DNS and installing of packages. This makes things nice and dynamic, and simple to re-create/backup/redeploy. However, I should add, I'm an SRE by profession, so this is 85% more work than most people would want or need.