Bring your own router.

The settings your router needs, in order, with examples for OpenWrt, OPNsense, Linux with pppd and VyOS.

You can also choose the Tuckamore router, preconfigured. See the router

What your router needs

FieldValue
WAN port, 3 Gbps service5 Gbps Ethernet or faster
WAN port, 8 Gbps service10 Gbps Ethernet

With 1.5 Gbps service, your router needs an SFP port.

Two ways to run 464XLAT

ComparedDevices translateRouter translates
Router settingsPREF64 and DHCPv4 option 108CLAT and a private IPv4 DHCP pool
Numeric IPv4 addressesThe devices listed belowEvery device, legacy Windows software included
Home networkIPv6IPv6 and private IPv4
ExamplesOpenWrt, OPNsense, Linux with pppd, VyOSOpenWrt, OPNsense, Linux with pppd

Both can run together.

Devices with their own CLAT

FieldValue
Android phones and tablets
VersionAndroid 12 and later, on Wi-Fi and Ethernet
Turns on withOption 108
NAT64 prefix fromPREF64 or DNS64
iPhone and iPad
VersioniOS 17 and iPadOS 17 and later
Turns on withOption 108
Mac
VersionmacOS Monterey 12.0.1 and later
Turns on withOption 108
NAT64 prefix fromPREF64
Windows PC
VersionWindows 11 Insider Preview, Canary Channel, build 29599 and later
Turns on withOption 108, after the netsh command and a restart
NAT64 prefix fromPREF64 or DNS64
Linux desktop
VersionNetworkManager 1.58 and later
Turns on withipv4.clat set to auto on the connection, and a reconnect
NAT64 prefix fromPREF64

Set it up, step by step

1. Connect
Your line's speed
FieldValue
Your router to the ONT

Ethernet, WAN port to ONT

The ONT, in your router's SFP port

2. Add VLAN 40
FieldValue
New interface on your WAN portTagged VLAN 40
3. Start PPPoE
FieldValue
PPPoE on the VLAN 40 interfaceOn
Username and passwordFrom your Tuckamore accountSign in
4. Set the MTU
FieldValue
WAN port1528
VLAN 40 device1528
PPPoE session1520
Router with a lower maximumIts maximum
5. Turn on IPv6
FieldValue
IPv6 on the PPPoE sessionOn
IPCPOff
IPCP, static IPv4 add-onOn
Router addressSLAAC
DHCPv6-PD request/56
6. Share a /64 from your /56
FieldValue
LANA /64 from the delegated /56
7. Set your DNS
FieldValue
DNS servers2001:4860:4860::6464 and 2001:4860:4860::64
8. Optional: add 464XLAT
FieldValue
Devices translate
PREF6464:ff9b::/96
DHCPv4 option 1081800
Router translates
CLATOn
CLAT IPv4 MTU1500
Windows CLAT
FieldValue
Command, in an administrator terminalnetsh interface clat set global permit=enabled pref64fromra=enabled pref64fromdns=enabled
ThenRestart

Examples

Replace the port names and account details with your own.

OpenWrt

FieldValue
VersionOpenWrt 25.12.1 and later

Before you paste

FieldValue
The first section's name and the second section's ifnameYour WAN port, for example wan or eth1
Existing config device section for your WAN portAdd option mtu '1528' to it, and skip the first section
YOUR_USERNAME and YOUR_PASSWORDFrom your Tuckamore account
Existing lan sectionSet ip6assign '64' there
Add to
/etc/config/network
config device
	option name 'wan'
	option mtu '1528'

config device
	option type '8021q'
	option ifname 'wan'
	option vid '40'
	option name 'wan.40'
	option mtu '1528'

config interface 'wan'
	option device 'wan.40'
	option proto 'pppoe'
	option username 'YOUR_USERNAME'
	option password 'YOUR_PASSWORD'
	option ipv6 '1'
	option pppd_options 'noip'
	option peerdns '0'
	option mtu '1520'

config interface 'wan6'
	option device '@wan'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix '56'
	option peerdns '0'
	list dns '2001:4860:4860::6464'
	list dns '2001:4860:4860::64'

config interface 'lan'
	option ip6assign '64'

Optional: 464XLAT

Devices translate
Run these commands
uci set dhcp.lan.ra_pref64='64:ff9b::/96'
uci add_list dhcp.lan.dhcp_option='108,1800'
uci commit dhcp
Router translates
FieldValue
Package464xlat
wan6 sectionAdd option iface_464xlat '0'
wan firewall zone in /etc/config/firewallAdd xlat
wan firewall zone's mtu_fix'1'
/etc/sysupgrade.confAdd /etc/hotplug.d/iface/10-xlat-mtu
Add to
/etc/config/network
config interface 'xlat'
	option proto '464xlat'
	option tunlink 'wan6'

config device
	option name '464-xlat'
	option mtu '1500'
Save as
/etc/hotplug.d/iface/10-xlat-mtu
[ "$INTERFACE" = xlat ] || exit 0
case "$ACTION" in
ifup|ifupdate)
	ip -6 route replace "$(cat /tmp/464-xlat-anycast)/128" dev 464-xlat table prelocal proto static mtu lock 1520
	;;
esac

Finish up

FieldValue
Your settingsSave, then reboot the router
Static IPv4 add-onuci delete network.wan.pppd_options && uci commit network && ifup wan
Check the MTU
CommandExpected output
ip link show pppoe-wanmtu 1520
ip link show wan.40mtu 1528
ip link show with your WAN port's namemtu 1528
Router translates
ip link show 464-xlatmtu 1500
ip -6 route show table prelocaldev 464-xlat with mtu lock 1520

OPNsense

Router translates needs a plugin on OPNsense. OPNsense 26.7 has no CLAT of its own, so we built os-clat, a plugin that adds one. Install it in three steps under Router translates. Devices translate needs no plugin.

FieldValue
VersionOPNsense 26.7.6 and later
1. Clear the WAN port
FieldValue
PageInterfaces[WAN]
IPv4 Configuration TypeNone
IPv6 Configuration TypeNone
Finish withSave, then Apply changes
OPNsense Interfaces: [WAN] page, with IPv4 Configuration Type and IPv6 Configuration Type both set to None.
2. Add VLAN 40
FieldValue
PageInterfacesDevicesVLAN, a new device
Devicevlan0.40
ParentThe port cabled to the ONT
VLAN tag40
Finish withSave, then Apply
OPNsense Edit Vlan window, with Device vlan0.40, a Parent port and VLAN tag 40.
3. Add PPPoE
FieldValue
PageInterfacesDevicesPoint-to-Point, a new device
Link TypePPPoE
Link interface(s)vlan0.40
Username and PasswordFrom your Tuckamore account
Service name and Host-UniqEmpty
Finish withSave
OPNsense Point-to-Point device page, with Link Type PPPoE, Link interface(s) vlan0.40, and the Username and Password fields filled in.
4. Make PPPoE your WAN
FieldValue
PageInterfacesAssignments
pppoe0 in the Device listUp to a minute after step 3
The WAN row, with its pencil button
Devicepppoe0 (vlan0.40), followed by your username
IPv4 Configuration Type and IPv6 Configuration TypeNone
Finish withSave
A new row, with the + button
DeviceThe port cabled to the ONT
DescriptionUPLINK
Finish withSave, then Apply
OPNsense Edit Assignment window for the WAN row, with Device set to pppoe0 (vlan0.40).
5. Set UPLINK to 1508
FieldValue
PageInterfaces[UPLINK]
EnableTicked
LockAs it is
IPv4 Configuration TypeNone
IPv6 Configuration TypeNone
MTU1508
Finish withSave, then Apply changes
OPNsense Interfaces: [UPLINK] page, with Enable ticked, both Configuration Types set to None and MTU 1508.
6. Set up the WAN
FieldValue
PageInterfaces[WAN]
EnableTicked
IPv4 Configuration TypeNone
IPv4 Configuration Type, static IPv4 add-onPPPoE
IPv6 Configuration TypeDHCPv6
MTU1508
PPPoE session, with this MTU1500
MTU under the Point-to-Point device's Link ParametersEmpty
DHCPv6 client configurationPrefix delegation size56
DHCPv6 client configurationRequest prefix onlyTicked
DHCPv6 client configurationSend prefix hintTicked
Finish withSave, then Apply changes
If the page does not load after Apply changesLoad it again. Your changes are applied.
OPNsense Interfaces: [WAN] page, with Enable ticked, IPv4 Configuration Type None, IPv6 Configuration Type DHCPv6 and MTU 1508.
7. Share a /64 from your /56
FieldValue
PageInterfaces[LAN]
IPv6 Configuration TypeIdentity association
Parent interfaceWAN
Assign prefix ID0
With Identity association
ServicesDnsmasq DNS & DHCPGeneralRouter advertisementsTicked
ServicesDnsmasq DNS & DHCPDHCP rangesA LAN entry with Constructor LAN and RA mode slaac. The arrow before LAN opens its entries.
With Track Interface (legacy)
Parent interface and Assign prefix IDThe same values
Dnsmasq settingsAs they are
OPNsense Interfaces: [LAN] page, with IPv6 Configuration Type Identity association, Parent interface WAN and Assign prefix ID 0.
8. Set your DNS
FieldValue
PageSystemSettingsGeneral
DNS servers2001:4860:4860::6464 and 2001:4860:4860::64
Allow DNS server list to be overridden by DHCP/PPP on WANCleared
Finish withSave
OPNsense System: Settings: General page, with the two DNS servers entered and the DHCP/PPP override box cleared.
9. Forward lookups to DNS64
FieldValue
PageServicesUnbound DNSQuery Forwarding
Use System NameserversTicked, then Apply
The following nameservers are usedThe two DNS servers of step 8
PageServicesUnbound DNSGeneral
Enable DNS64 Support and Enable DNSSEC SupportCleared
OPNsense Unbound DNS Query Forwarding page, with Use System Nameservers ticked and the two DNS servers listed under it.
Check the MTU
Where to lookExpected
InterfacesOverview, the magnifier button (Details) on the WAN rowmtu 1500
The same button on the UPLINK rowmtu 1508
OPNsense Details window for the WAN interface, with the mtu row at 1500.
UPLINK at 1500
FieldValue
MTU on UPLINKCleared
MTU on the WANCleared
Finish with, on both pagesSave, then Apply changes
PPPoE session, with both cleared1492
Details on the WAN rowmtu 1492

Optional: 464XLAT

OPNsense runs Devices translate and Router translates.

Devices translate

1. Hand router advertisements to radvd
FieldValue
PageServicesDnsmasq DNS & DHCPGeneral
Router advertisementsCleared, then Apply
PageServicesDnsmasq DNS & DHCPDHCP ranges, the LAN entry with Constructor LAN
RA modeClear All, so it reads Default
Finish withSave, then Apply
Until RA mode reads DefaultDnsmasq keeps sending router advertisements
With Track Interface (legacy)Straight on to step 2
OPNsense Edit DHCP range window for the LAN entry, with Constructor LAN and RA mode reading Default.
2. Announce PREF64
FieldValue
PageServicesRouter Advertisements, a new entry
EnabledTicked
InterfaceLAN
ModeUnmanaged
advanced mode, the switch at the top leftOn
NAT64 prefix64:ff9b::/96
Finish withSave, then Apply
OPNsense Edit Entry window for Router Advertisements in advanced mode, with Interface LAN, Mode Unmanaged and NAT64 prefix 64:ff9b::/96.
3. Offer option 108
FieldValue
PageServicesDnsmasq DNS & DHCPDHCP options, a new option
TypeSet
Optionipv6-only [108]
InterfaceLAN
Value1800
ForceCleared
Finish withSave, then Apply
OPNsense Edit DHCP option window, with Type Set, Option ipv6-only [108], Interface LAN and Value 1800.

Router translates

FieldValue
Pluginos-clat
Before you startSteps 1 to 9
CLAT IPv4 MTU, with WAN MTU 15081480
TCP MSS, with WAN MTU 15081440
CLAT IPv4 MTU, with UPLINK at 15001472
TCP MSS, with UPLINK at 15001432
1. Bring OPNsense up to date
FieldValue
PageSystemFirmwareStatus
Finish withCheck for updates, then Update
2. Add the os-clat repository
FieldValue
A root shell on the console
Sign in asroot
Menu option8) Shell
A root shell over SSH, once Secure Shell is on
PageSystemSettingsAdministration, under Secure Shell
Enable Secure ShellTicked
Permit root user loginTicked
Permit password loginTicked
Finish withSave
Sign in asroot, then menu option 8) Shell
After the commandThe three boxes as they were, then Save
Run in the root shell
This one line
mkdir -p /usr/local/etc/pkg/fingerprints/os-clat/trusted /usr/local/etc/pkg/fingerprints/os-clat/revoked && fetch -o /usr/local/etc/pkg/fingerprints/os-clat/trusted/os-clat.fingerprint https://os-pkg.gettuckamore.ca/os-clat.fingerprint && fetch -o /usr/local/etc/pkg/repos/os-clat.conf https://os-pkg.gettuckamore.ca/os-clat.conf
Check the repository
Where to lookExpected
SystemFirmwareStatusRepositoriesOPNsense and os-clat
OPNsense System: Firmware Status tab, with Repositories listing OPNsense and os-clat.
3. Install os-clat
FieldValue
PageSystemFirmwarePlugins
End of the listClick to view the community plugins.
os-clatIts + button (Install)
Third party software noticeInstall
The Updates tab, last line***DONE***
ServicesCLAT in the menuAfter you load the page again
OPNsense System: Firmware Plugins tab, with os-clat listed and its + button.
Check the CLAT
Where to lookExpected
ServicesCLATSettingsStateActive.
NAT64 prefix64:ff9b::/96 (DNS)
MTU and MSSIPv4 1480, TCP MSS 1440
MTU and MSS, with UPLINK at 1500IPv4 1472, TCP MSS 1432
ChecksNo findings.
The settings on the same pageAs installed
While State reads Listening: no NAT64 prefix found.
State turns to Active.Up to five minutes after names resolve on the router again. Longer after a long DNS outage.
To skip the waitApply on the same page
OPNsense Services: CLAT: Settings page, with State Active, NAT64 prefix 64:ff9b::/96 (DNS), IPv4 1480 and TCP MSS 1440.
Updates
FieldValue
New os-clat versionsArrive with your OPNsense updates, through Check for updates, then Update
IPv4 during an os-clat updatePauses for a few seconds
Repository out of reach
FieldValue
Check for updatesReports an error and lists no updates, those of OPNsense included
After the command under this tableOPNsense updates are listed again
The pluginStays installed and Active, listed as os-clat (orphaned)
os-clat updatesBack after you add the os-clat repository again
Run in the root shell
To bring OPNsense updates back
rm -f /usr/local/etc/pkg/repos/os-clat.conf
Remove os-clat
FieldValue
PageSystemFirmwarePlugins
os-clat (installed)Its bin button (Remove)
Confirm removal windowOK
Run in the root shell
To remove the repository as well
rm -f /usr/local/etc/pkg/repos/os-clat.conf && rm -rf /usr/local/etc/pkg/fingerprints/os-clat

Other routers

Linux with pppd
FieldValue
pppd version2.5.3 and later
Your PPPoE peer's options file+ipv6 and noip
Static IPv4 add-onRemove noip, then reconnect
WAN port MTU1528
VLAN 40 device MTU1528
Commands for
The WAN port and its VLAN 40 device
eth0
Your WAN port
ip link set dev eth0 mtu 1528
ip link add link eth0 name eth0.40 type vlan id 40
ip link set dev eth0.40 mtu 1528
ip link set dev eth0 up
ip link set dev eth0.40 up

Add the same values to your system's network configuration.

Add to
Your peer's options file, replacing any plugin, interface, mtu and mru lines
plugin pppoe.so
nic-eth0.40
mtu 1520
mru 1520
Check the MTU
CommandExpected output
ip link show ppp0mtu 1520
sysctl net.ipv6.conf.ppp0.mtu1520
VyOS
FieldValue
IPv6set interfaces pppoe pppoe0 ipv6 address autoconf
Static IPv4 add-ondisconnect interface pppoe0, then connect interface pppoe0
PPPoE session MTU1500
WAN port and VLAN 40 device MTU1508
464XLATDevices translate
Commands for
MTU and the PPPoE source interface
eth0
Your WAN port
set interfaces ethernet eth0 mtu 1508
set interfaces ethernet eth0 vif 40 mtu 1508
set interfaces pppoe pppoe0 source-interface eth0.40
set interfaces pppoe pppoe0 mtu 1500
Check the MTU
CommandExpected output
ip link show pppoe0, after commit and savemtu 1500

Optional: 464XLAT on Linux with pppd

Devices translate
FieldValue
radvd version2.20 and later
Option 108, dnsmasq 2.87 and laterdhcp-option=option:ipv6-only,1800
Option 108, Kea, in your LAN's subnet4option-data{ "name": "v6-only-preferred", "data": "1800" }
Add to
/etc/radvd.conf, inside your LAN interface's section
nat64prefix 64:ff9b::/96 {
	AdvValidLifetime 1800;
};
Router translates
FieldValue
CLATJool
Packagesjool-dkms and jool-tools
LAN192.168.1.1/24
dnsmasq pooldhcp-range=192.168.1.100,192.168.1.249,12h
Commands for
The Jool CLAT
YOUR_PREFIX
The first four groups of your LAN's /64
sysctl -w net.ipv4.conf.all.forwarding=1
sysctl -w net.ipv6.conf.all.forwarding=1
modprobe jool_siit
jool_siit instance add --netfilter --pool6 64:ff9b::/96
jool_siit global update lowest-ipv6-mtu 1520
jool_siit eamt add 192.168.1.0/24 YOUR_PREFIX::c0a8:100/120

Optional: 464XLAT on VyOS

eth1
Your LAN interface
LAN
Its DHCP shared network
Finish with
Commit and save
set service router-advert interface eth1 nat64prefix 64:ff9b::/96
set service dhcp-server shared-network-name LAN option ipv6-only-preferred 1800

A working connection shows

Where to lookExpected
PPPoE sessionIPv6CP up
Your router's connectionA /64, by SLAAC
Your home networkA /56, by DHCPv6-PD
IPv4-only sitesOpen in your browser
Legacy Windows software, with 464XLATReaches IPv4 sites