documentation:examples:nat64
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:nat64 [2019/06/04 15:21] – [Downloading BSD Router Project images] olivier | documentation:examples:nat64 [2019/06/06 16:51] – [Stateless] olivier | ||
---|---|---|---|
Line 167: | Line 167: | ||
=== VM2 === | === VM2 === | ||
- | Configure a stateful NAT64 with ipfw, and enable logging: | + | Configure a stateful NAT64 with ipfw: |
< | < | ||
sysrc firewall_enable=YES | sysrc firewall_enable=YES | ||
sysrc firewall_script="/ | sysrc firewall_script="/ | ||
+ | echo "# Temporary fix to avoid panicing a 12-stable:" | ||
echo " | echo " | ||
cat > / | cat > / | ||
Line 216: | Line 217: | ||
</ | </ | ||
- | ==== Stateless ==== | + | ==== Stateless |
=== VM2 === | === VM2 === | ||
Line 233: | Line 234: | ||
${fwcmd} table T46 create type addr valtype ipv6 | ${fwcmd} table T46 create type addr valtype ipv6 | ||
${fwcmd} table T64 create type addr valtype ipv4 | ${fwcmd} table T64 create type addr valtype ipv4 | ||
+ | ${fwcmd} table T46 add 2.2.1.1 2001: | ||
+ | ${fwcmd} table T64 add 2001: | ||
${fwcmd} nat64stl NAT64 create table4 T46 table6 T64 | ${fwcmd} nat64stl NAT64 create table4 T46 table6 T64 | ||
${fwcmd} add allow icmp6 from any to any icmp6types 135,136 | ${fwcmd} add allow icmp6 from any to any icmp6types 135,136 |
documentation/examples/nat64.txt · Last modified: 2020/01/02 19:36 by olivier