Contents

조회 수 1245 댓글 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. No Image 14Nov
    by hooni
    2013/11/14 by hooni
    Views 0 

    [ios] 인앱결제 & 오토레이아웃 관련 강좌

  2. [java] 초간단 싱글톤(Singleton) 패턴 샘플 코드

  3. [php] php5.3부터는 eregi()대신 preg_match()를 사용

  4. [js] window.open() 속성 사용 방법

  5. [ios] iphone SetDeviceOrientation 화면 강제 회전

  6. [ios] iOS In App Purchase #1 (코드 구현 전 웹 설정 작업)

  7. [ios] iOS In App Purchase #2 (코드 구현)

  8. [ios] iOS In App Purchase 코드 부분 샘플 1

  9. [ios] iOS In App Purchase 코드 부분 샘플 2

  10. [ios] In App Purchase 개발

  11. 이어서 작업할 내용~

  12. [english] 영어공부 혼자 하기, 인터넷으로 영어공부하기 추천사이트 20선

Board Pagination Prev 1 ... 63 64 65 66 67 68 69 70 71 72 ... 98 Next
/ 98