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