Skip to content

Instantly share code, notes, and snippets.

@unixfox
Last active June 5, 2023 14:29
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unixfox/98f696318d356de6381779ed3541218d to your computer and use it in GitHub Desktop.
Save unixfox/98f696318d356de6381779ed3541218d to your computer and use it in GitHub Desktop.
IPv6 only NAT64 (Jool) with RA (radvd) + DNS64 (bind9)
{
"comment": "Sample configuration for the NAT64 Jool service.",
"instance": "default",
"framework": "netfilter",
"global": {
"comment": "Sample pool6 prefix",
"pool6": "64:ff9b::/96"
}
}
options {
directory "/var/named";
pid-file "/run/named/named.pid";
listen-on-v6 { any; };
listen-on { none; };
allow-recursion { fe80::/64; };
allow-transfer { none; };
allow-update { none; };
forwarders {
::1;
};
forward only;
max-ncache-ttl 3;
version none;
hostname none;
server-id none;
dns64 64:ff9b::/96 {};
};
interface eth0 {
AdvSendAdvert on;
AdvDefaultLifetime 0;
route 64:ff9b::/96 {};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment