Skip to content

Instantly share code, notes, and snippets.

@bbg-deploy
Created February 4, 2014 20:59
Show Gist options
  • Save bbg-deploy/8812275 to your computer and use it in GitHub Desktop.
Save bbg-deploy/8812275 to your computer and use it in GitHub Desktop.
[root@vsh205 ~]# lsmod | grep ip_tables
ip_tables 18151 3 iptable_nat,iptable_filter,iptable_mangle
[root@vsh205 ~]# vzlist -a | grep iptables
14162198 36 running 67.214.216.147 cc-iptables-vbox.c45223.blueboxgrid.com
[root@vsh205 ~]# grep ip_tables /etc/vz/conf/14162198.conf
IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ip_conntrack ip_conntrack_ftp ipt_conntrack ipt_state"
[root@vsh205 ~]# vzctl enter 14162198
entered into CT 14162198
[root@cc-iptables-vbox /]# lsmod | grep ip_tabl
[root@cc-iptables-vbox /]# logout
exited from CT 14162198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment