Submitted by Elliot Isaacson on Oct 17, 2008.
Greetings,
For all future videos I will include links to the transcript and script (if applicable). Here is the transcript and firewall script for this one:
Transcript: http://dark-code.bulix.org/z5svtd-68680?raw (sauvé dans IPTables Tutorial Part 1.txt) Script: http://dark-code.bulix.org/y8t9ur-68683 (sauvé dans firewall script.rtf)
These will be available in the video description from now on.
Elliot
_
Submitted by Josh (not verified) on Oct 08, 2008.
I was able to copy the script Elliot creates while watching the video. It's not exactly the same, but captures all the same stuff
#!/bin/sh
#locate iptables (this will cause issues if the command fails, but is flexible) IPT=`which iptables`
#or possibly the following, but on CYGWIN it's not in the right format) #IPT=`whereis iptables`
#flush iptables $IPT -F
#----------------------- # POLICIES #-----------------------
# # DEFAULT POLICIES #-----------------------
#For outbound traffic $IPT -P OUTPUT ACCEPT #For inbound traffic $IPT -P INPUT DROP #For routed traffic is to drop for now $IPT -P FORWARD DROP
# # ALLOWED INBOUND TRAFFIC #-----------------------------
#ALLOW loopback traffic $IPT -A INPUT --in-interface lo -j ACCEPT
#ALLOW http $IPT -A INPUT -p tcp --dport 80 -j ACCEPT #ALLOW ssh $IPT -A INPUT -p tcp --dport 22 -j ACCEPT #ALLOW Responses $IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

	IPTables script

	Submitted by Josh (not verified) on Oct 08, 2008.
	PS. I did not verify the script works, so don't shoot any flaming arrows my way, but I will update it if I find any