Connect to IPV6 network with public-ipv4-only VPS
1 Background
Raspberry Pi OS become AP while connecting to wireless network.
2 Step
- Install RaspAP project with
Program C functions
Proxmox Gist
Connect to IPV6 network with public-ipv4-only VPS
1 Background
There are many cloud service providers only sell public-ipv4-only virtual machines. But, for some reasons, having ipv6 support could make things easier. In this case, we’ll use ipv4 to ipv6 tunnel to connect to ipv6 network.
2 Step
- register in HE.net tunnel broker for free to use ipv4ToIpv6 tunnel service 1.1. create tunnel 1.2. configure ipv6 tunnel on virtual machine through its example configurations.
- waiting until it is ready
3 IPV6 tunnel problem
- He.net unable to register by gmail and outlook.
- Solution: it works with 163, registered at 2024-12-21.
- He.net cannot create ipv6 tunnel, caused by “This network is restricted”
- Possible reason: He.net block target ip address
- Solution: create tunnel with valid ipv4 address. Then, switch to blocked ip address, created at 2024-12-21
- He.net tunnel will close due to inactivity for a certain time.
- Solution: ping a ipv6 website periodically every 10 minutes.
Sh:
crontab -l 2>/dev/null | echo "*/10 * * * * ping -c 2 ipv6.google.com" | crontab -
- Solution: ping a ipv6 website periodically every 10 minutes.
Sh:
Docker IPV6 Setup
Allow docker to use IPV6 network.
This solution is not working in my network that parent router may have firewall that make my device unable to get connection automatically, details checkout to my ipv6 network issue
1 Check docker IPV6 is enabled
2 Get ipv6 address range in host
OpenWRT IPV6 Setup
TODO: Add ipv6 setting up for home network
Enable IPV6 connection in OpenWRT.
1 IPV6 network
- ipv6 relay mode if router does not been assigned ipv6 address with prefix delegation.
- ipv6 server mode if router has ipv6 address with prefix delegation.
2 IPV6 problem in relay mode
- if upstream router has wrong settings that cause all clients cannot be assigned ipv6 address.
It requires client to ping the router for getting ipv6 address.
- TODO: add keywords for searching the solutions
- connection problem if router sets learn routes in v24.01
- disable learn routes in WAN interface
- disable learn routes in LAN interface