Skip to content

Instantly share code, notes, and snippets.

@bbg-deploy
Created February 4, 2014 20:59
Show Gist options
  • Select an option

  • Save bbg-deploy/8812275 to your computer and use it in GitHub Desktop.

Select an option

Save bbg-deploy/8812275 to your computer and use it in GitHub Desktop.

Revisions

  1. bbg-deploy created this gist Feb 4, 2014.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    [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