ctf-2011

old assets from capture-the-flag ictf 2011

git clone https://9o.is/git/ctf-2011.git

enable_nat.sh

(216B)


      1 #!/bin/bash
      2 # enable NAT & put it in /etc/rc.local to run it automatically during boot.
      3 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
      4 echo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE >> /etc/rc.local