Skip to content

Instantly share code, notes, and snippets.

@jdoss
Created April 11, 2015 19:22
Show Gist options
  • Save jdoss/16f653f5f8b0c4640ac2 to your computer and use it in GitHub Desktop.
Save jdoss/16f653f5f8b0c4640ac2 to your computer and use it in GitHub Desktop.
iptables settings for openvz hardware node
IPTABLES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state ip_nat_ftp ipt_recent ip_conntrack_ftp xt_mac ip_conntrack_irc ipt_owner ipt_REDIRECT iptable_nat, ip_tables"
IPTABLES_MODULES="$IPTABLES xt_connlimit nf_nat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment