Now that I tested I can reach my home network via IPv6 wan address, will below plan work?
- In dynv6 (which support IPv6 mapping) I create an account and create a domain name.
- Install necessary packages for dynamic dns service in openwrt router.
- Configure dynamic dns service in openwrt to fetch IPv6 address from wan_6 interface and update the domain name in dynv6. So that my domain name in dynv6 is always mapped to latest wan address of my network,
- I will have a raspberry pi in my LAN
- Which I assume will get an IPv6 address via DHCP (I saw other devices in my LAN got IPv6 address)
- Do a reservation in my DHCP config based on the MAC address of raspberry pi, so that IPv6 address of raspberry pi stays same.(I dont know how to do this in openwrt, but I hope its simple)
- Install Apache and host a website via port 443 in raspberry pi
- Add a port forward rule in Network->Firewall->Port Forwards as
- Protocol - TCP
- Source zone -wan
- External Port - 443
- Destination zone - lan
- Internal IP address - raspberry pi's IPv6
- Internal port - 443
- Now if I access dynv6 domain name from external network, it should open my website right?