2019-05-21 12:40:13 +01:00
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--list-rules
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--list-rules
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--list-rules
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_INP
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert INPUT \
|
|
|
|
--jump LIBVIRT_INP
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_OUT
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert OUTPUT \
|
|
|
|
--jump LIBVIRT_OUT
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWO
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWO
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWI
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWI
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWX
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWX
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--new-chain LIBVIRT_PRT
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--insert POSTROUTING \
|
|
|
|
--jump LIBVIRT_PRT
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--new-chain LIBVIRT_PRT
|
|
|
|
iptables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--insert POSTROUTING \
|
|
|
|
--jump LIBVIRT_PRT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--list-rules
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--list-rules
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--list-rules
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_INP
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert INPUT \
|
|
|
|
--jump LIBVIRT_INP
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_OUT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert OUTPUT \
|
|
|
|
--jump LIBVIRT_OUT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWO
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWO
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWI
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWI
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--new-chain LIBVIRT_FWX
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table filter \
|
|
|
|
--insert FORWARD \
|
|
|
|
--jump LIBVIRT_FWX
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--new-chain LIBVIRT_PRT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table nat \
|
|
|
|
--insert POSTROUTING \
|
|
|
|
--jump LIBVIRT_PRT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--new-chain LIBVIRT_PRT
|
|
|
|
ip6tables \
|
2020-11-16 19:20:53 -05:00
|
|
|
-w \
|
2019-05-21 12:40:13 +01:00
|
|
|
--table mangle \
|
|
|
|
--insert POSTROUTING \
|
|
|
|
--jump LIBVIRT_PRT
|