September 17, 2011
현재 운영 중인 iptables
Computer / 컴퓨터Linux / 리눅스내가 현재 관리 중인 서버의 iptables 정책을 공개한다. 공개해서 개선/유지/보수 하는 것이 목적. 이상없이 돌아가고 있기 때문에 그대로 쓰면 된다. #!/bin/bash ################################################################# # Title : A simple firewall for home users # # Version : 1.1 # # Tested-on : ubuntu 11.04//sbin/iptables v1.4.4 # # Author : Brian Jung (09/17/2011) # # Copyright : N/A # # Note : Thanks to Ubuntu Korea users # ################################################################# ##[ COMMON ROUTINE ]############################################## ## Variables ## ################################################################## HOME=$(ifconfig -a eth0 | awk ‘/(cast)/ { print $2 }’ | cut -d ‘:’ -f2 | […]
Recent Comments