No Public IPv4 Needed — Ditch NAT Traversal! A Guide to Enabling IPv6 on Home Broadband and Configuring Your Router Firewall
Keywords: IPv6 setup, optical modem bridge mode, DDNS dynamic domain, software router configuration
Many people have recently discovered that their home broadband suddenly lost its public IPv4 address. Whether you are with China Unicom, China Telecom or China Mobile, reclaiming public IPv4 addresses has become the norm. This is painful for those of us with a NAS at home or a need for remote monitoring.
Do not panic — even without IPv4, we still have IPv6.
In fact, home broadband connections today are already assigned IPv6 addresses; they simply are not enabled in the default configuration. This tutorial walks you through, step by step:how to get IPv6 fully working from the optical modem all the way to the router, and achieve public access.
Step 1: Switch the optical modem to bridge mode (the core step)
For many people IPv6 does not work well, and the core reason is that the optical modem is still doing the "dial-up" job. It is best to switch the modem to"bridge mode", so it only performs optical-to-electrical conversion and lets the router handle dial-up. This makes the network more stable and firewall permissions easier to control.
1. Obtain the optical modem's super admin password
The account printed on the back of the optical modem has useradmin insufficient privileges; you need the super admin account. Passwords vary by region — it is worth a few yuan on Taobao to look one up, or try these commonly used credentials:
China Telecom: username
telecomadmin/ passwordnE7jA%5China Unicom: username
CUAdmin/ passwordCUAdminChina Mobile: username
CMCCAdmin/ passwordCmcc10086#
2. Change the connection mode
Log into the optical modem's admin page (usually 192.168.1.1) and find the "Network" settings.
- Create/modify connection: choose the connection tagged with
INTERNET. - Connection mode: change it to Bridge。
- IP protocol version: you must select IPv4/IPv6 dual stack。
Step 2: Router dial-up and enabling IPv6
Once the modem is bridged, the pressure shifts to the router (using Xiaomi/Redmi/TP-LINK as examples):
- Internet settings: switch to PPPoE dial-up, and enter your broadband account and password.
- Enable IPv6: find the "IPv6 network settings" toggle.
- Connection type: select
Nativeorbroadband dial-up。 - DNS acquisition: "Automatic" is recommended.
- Connection type: select
Verify that it worked
Visit https://17nas.com/ipv6-test.php, and if you see "Your network prefers IPv6 access", congratulations — you are done!
Step 3: DDNS resolution and firewall configuration
Having IPv6 is not enough on its own, because the IP changes dynamically and the firewall will block remote connections. We need to solve both before we can reach the NAS remotely.
1. Set up DDNS (bind a domain)
- Synology users: just use the built-in
Synology DDNS, which supports IPv6 perfectly. - Universal approach (Docker): deploying DDNS-GO is recommended. It supports Alibaba Cloud, Tencent Cloud, Cloudflare and more. Just enter your token and it will automatically resolve the domain to your latest IPv6 address.
2. Firewall and port allowances
Many people get stuck at "it resolves but will not connect", which is usually the router firewall blocking it.
You need to go into the router's admin page and find the "IPv6 firewall". The simplest approach is to temporarily disable the firewall (provided your NAS password is strong). The safer approach is to allow only specific ports under "port forwarding" (for example the NAS's port 5000).
Advanced: configuration advice for a software router (iStoreOS)
If you use a software router (such as an R68s running iStoreOS), the configuration logic is the same, but pay attention to the firewall rules:
- WAN port rules: the default is "deny inbound". If you need remote access, do not simply change it to "accept" — configure it under "port forwarding" instead.
- Tip to prevent disconnections: software routers sometimes drop offline when the ISP resets the network. It is advisable to set a scheduled task to restart on a schedule at 4am daily, which keeps the network stable long term.
Summary
With optical modem bridged + router dial-up + DDNS resolution, we can get high-speed public access for free and finally say goodbye to the crawl of NAT traversal. This setup not only saves money but is currently the best practice for upgrading a home network.
Related reading: Connecting directly to your NAS over IPv6 on dual-stack broadband (a more complete configuration) · IPv6 reachability monitoring report by province
