gluon/package/gluon-464xlat-clat/check_site.lua
Christof Schulze ebbd407df2 gluon-464xlat-clat: initial commit
This provides native ipv4 to clients on a network having an ipv6-only
backend, relying on external plat. This allows to use clients in
ipv6-only networks that would otherwise refuse to connect without a
valid ipv4 route.

Limitations:
* External plat must be provided, for example by jool - for example by
  https://github.com/FreifunkMD/jool-docker.git
* This implementation will break ipv4 connections when clients roam.
2020-01-23 00:38:19 +01:00

3 lines
117 B
Lua

need_string(in_domain({'clat_range'}))
need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$', true)