Firstly, I would like to thank the team for adding DS-Lite support—it’s been a great addition!
I am a Unifi user based in Japan and would like to request support for my ISP connection setup.
My ISP provides a native IPv6 connection through DHCPv6-PD, which my UDM Pro successfully acquires, though this connection doesn’t appear in the web UI.
Alongside IPv6, my ISP provides a dedicated IPv4 address through an ip4ip6 tunnel (IPIP Tunnel). Currently, I’m able to configure this IPv4 connection through SSH using custom commands, but it will be erased upon reboot, and the unifi os does not recognize the configuration.
I would greatly appreciate native support for this setup. It would be extremely valuable for users in similar situations, as many ISPs are migrating from conventional solutions because of the IPv4 exhaustion.
Below are the SSH commands I used to configure this connection:
# before the commands, set up the internet interface, using DS-Lite, fill in a dummy gateway server, so unifi os will configure a ip6tnl1 interface and nat entries # some info is masked REMOTE_EP='2404:9200:225:100::65' # acquired from ISP INTERFACE_ID='aaaa:aaaa:aaaa:0000' # acquired from ISP. it is for local addr, as the local addr must have such suffix FIXED_IPV4='1.1.1.1' # acquired from ISP UPDATE_UID='user' # acquired from ISP UPDATE_PASSWORD='pass' # acquired from ISP LOCAL_INET6='240b:ffff:ffff:ffff:aaaa:aaaa:aaaa:0' # this is the public ipv6 acquired with the suffix above # firstly, set up the suffixed ipv6 address sysctl -w net.ipv6.conf.br0.accept_ra=2 ip token set ::${INTERFACE_ID} dev br0 ip -6 add add ${LOCAL_INET6}/64 dev br0 # reconfigure & bring up the ipip tunnel ip -6 tunnel delete ip6tnl1 ip -6 tunnel add ip6tnl1 mode ip4ip6 remote ${REMOTE_EP} local ${LOCAL_INET6} dev br0 encaplimit none ip link set dev ip6tnl1 up ip a add ${FIXED_IPV4} dev ip6tnl1 # optionally, notify the server if the ipv6 addr changed # for xpass users, the url is a little different, and with extra parameters curl "${ddns_server_address}/update?user=${UPDATE_UID}&pass=${UPDATE_PASSWORD}" # it is done
The commands are adapted from NEC UNIVERGE IX documentations.
In order to support this, unifi os needs to support:
See openwrt's comprehensive guide for ds-lite
Thank you for considering this request. I'm very happy to help!
I completely agree. It is one of the essential features for Ubiquiti to expand its market in Japan.
I’m totally on board with this request!
I need this feature as well, and right now, it’s the only thing keeping me from switching from my current setup to Unifi. If this functionality were added, I’d make the switch in a heartbeat.
Thanks so much for considering this—really hoping to see it happen!