ctf-2011
old assets from capture-the-flag ictf 2011
git clone https://9o.is/git/ctf-2011.git
setup_firewall.sh
(317B)
1 #!/bin/bash
2 #setup firewall
3 iptables --append FORWARD --in-interface eth0 --out-interface tun0 -j DROP
4 iptables --append FORWARD --in-interface tun0 --out-interface eth0 -j DROP
5 iptables --append FORWARD -s 10.13.147.3 --out-interface eht0 -j DROP
6 iptables --append FORWARD --in-interface eth0 -d 10.13.147.3 -j DROP