This will show how to setup iptables, ip6tables for Xen on Debian using iptables-persistent. Example config for HTTP, HTTPS, SSH server with IPv4 and IPv6. Install iptables-persistent, a boot-time loader for netfilter rules, using apt-get. apt-get install iptables-persistent During install a dialog will show up asking for snapshotting IPv4/IPv6 rules to files and use them…