I want to use my Raspberry Pi as an OpenVPN Server to connect from everywhere to my home network. My ISP provides me only with an IPv6 address, so I can only access the OpenVPN via IPv4. Unfortunately the rest of the world is still kinda stuck with IPv4, so is there anyway I can still connect using an IPv4 address to my Raspberry Pi?

Thanks in advance!


Most ISPs will still provide an unshared IPv4 address to business customers, with a corresponding increase in the monthly service charge (tariff). But even this won't last forever. Everyone must adopt IPv6 sooner or later, and your situation is one reason why. The world has run out of available IPv4 addresses, and any that remain available for new customers are going to be scrounged from Gawd knows where. This will only get worse, and will never get better.

  • So basically I'm screwed and can just patiently wait for wonders to happen (or rent a VPS somewhere instead of using my Raspberry Pi…) – Ragadabing Jan 8 at 12:02
  • If a VPS with an IPv4 address costs less than upgrading to business Internet service, and you can stand the latency, then yes... At that point you may as well get a VPS with both IPv4 and IPv6, make it the VPN server, and then you can VPN into it and have IPv6 anywhere with which to connect back to your home. – Michael Hampton Jan 8 at 14:05
  • @MichaelHampton In order for that to work properly you need a VPS with a routed IPv6 prefix. Not all VPS providers will give you that. – kasperd Jan 11 at 20:30
  • @kasperd Ideally yes, but you can run an NDP proxy to get around that. – Michael Hampton Jan 11 at 20:41
  • @MichaelHampton I have tried that, it worked great for a while. Then one day the provider turned on ND snooping without warning, and things stopped working. – kasperd Jan 11 at 20:50

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.