Commands:
sudo vim /etc/netplan/network.yaml
netplan generate (to test)
netplan apply
Commands:
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.218.142.50 local 112.213.222.19 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f2c:20c::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
https://wiki.nftables.org/wiki-nftables/index.php/Quick_reference-nftables_in_10_minutes
sudo nft add rule inet firewall forward iifname “he-ipv6” counter jump base_checks
sudo nft add rule inet firewall forward iifname “br0” oifname “he-ipv6” counter accept
arp -a
ip -6 neigh show
netsh int ipv6 show neigh
sudo vim /etc/nftables.conf
sudo nft list tables
sudo nft list table inet firewall -a -n -nn
sudo nft list table ip nat -a
-a
is list handles-n
is ?-nn
is ?sudo nft delete rule ip nat postrouting handle 12
sudo nft delete rule inet firewall forward handle 32
sudo nft add rule inet firewall input position 39 tcp dport domain counter