]> git.proxmox.com Git - pve-network.git/blob - test/zones/simple/ipv6snat/expected_sdn_interfaces
zones: simple: fix ip-forward && ipv6 snat
[pve-network.git] / test / zones / simple / ipv6snat / expected_sdn_interfaces
1 #version:1
2
3 auto myvnet
4 iface myvnet
5 address 2a08:2142:302:3::1/64
6 post-up ip6tables -t nat -A POSTROUTING -s '2a08:2142:302:3::/64' -o vmbr0 -j SNAT --to-source 192.168.0.1
7 post-down ip6tables -t nat -D POSTROUTING -s '2a08:2142:302:3::/64' -o vmbr0 -j SNAT --to-source 192.168.0.1
8 post-up ip6tables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
9 post-down ip6tables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
10 bridge_ports none
11 bridge_stp off
12 bridge_fd 0
13 ip6-forward on