piston/lxc/util/disable_network

3 lines
75 B
Plaintext
Executable File

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