toreanderson / clatd

A 464XLAT CLAT implementation for Linux
MIT License
213 stars 19 forks source link

clatd in router mode. #26

Closed zod076 closed 1 year ago

zod076 commented 1 year ago

Hi, currently clatd runs in Host mode, can it work in routed mode on a box with dual NICs ?

I have a 2nd gateway in my LAN for testing purposes and it has 2 NICs. 1st NIC is dual-stack connected to the LAN, 2nd NIC is IPv6-only connected to a Windows laptop and is IPv6-only too.

Also, PLAT is serving the LAN on the 1st NIC.

toreanderson commented 1 year ago

Hi, I assume that if you enable forwarding of IPv4 traffic and masquerading/SNAT of forwarded traffic following the IPv4 default route into the clat interface, it should work just fine.