Scripts to configure iptables on SageMathCloud host servers.
Flush all existing rules and reload whitelist. Run this at startup and after modifying the whitelist.
These files contain one IP address per line that will be blocked/allowed. Comments must start with # and be on their own line.
Inserts rules from the blacklist and whitelist that prevent forwarding from the 192.168.122.0/24 network to the external network, so only traffic from VMs will be blocked.
Flush all current iptables rules and load rules to forward traffic from VMs to the external network.
File created with iptables-save, contains rules created by libvirt for forwarding VM network to external network. This file is used by reset_iptables.sh.