Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can 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.



I 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.


This 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: