Contents

조회 수 1243 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

# 내 서버 설정 (firewall.sh)


#!/bin/bash
# iptables automation script
iptables -F

# open 22port first for ssh
iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT

# configure for basic policy
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

# accept to localhost
iptables -A INPUT -i lo -j ACCEPT

# accept to established and related
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# open 80 port for apache
iptables -A INPUT -p tcp --dport 80 -j ACCEPT

# save the configuration
/sbin/service iptables save

# print out
iptables -L -v





?

  1. 해커스랩 깨기.. 후후.. ㅋㅋ

  2. 플라스터(Plaster) 수업 내용

  3. 프로그램 문서 관리 (Doxygen)

  4. 프로그래밍에서 foo, bar 함수의 유래

  5. 프로그래밍 소스 관련 사이트..

  6. 페이팔에서 돈 찾기 (Paypal withdraw)

  7. 티스토리 테이블 html,css 구문

  8. 콘솔에서 패스워드 걸린 zip 압축하는 명령

  9. 컴파일러 수업 자료(교재 : 컴파일러 입문)

  10. 캘리포니아 운전면허 족보

  11. 캘리포니아 운전면허 문제

  12. 최근 논문 자료 (2011/01/03, 만현형한테 보낸거..)

Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 98 Next
/ 98