piston/lxc/disable_network

2 lines
75 B
Text
Executable file

iptables -I INPUT -i virbr0 -j REJECT
iptables -I OUTPUT -o virbr0 -j DROP