Search Results for 'iptables'


1 POSTS

  1. 2009/04/09 iptables 사용 by gwlee

iptables 사용



내 책상위에 있는 리눅스에 아파치 가동시키고
내 책상위에 있는 윈도우에서 접속하려니 안돼는거 가지고
주임님이랑 30분정도 쌩쑈했는데...

결국은 80포트 닫혀있었다는거..;;

구글링해서 iptables 명령어 이용해서 하다가 도리어 localhost도 막혀서 잠시 당황..

그냥 gui 도구를 이용해서 80 포트 오픈~ ^^

그리고 나중에 ssh 통해서 할 것을 대비해서 리눅스에서 포트 열려면
어떻게 해야 하는지 짤막 로그.. ^^


vi /etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

위의 양식과 같이 추가해주시고 저장하고 나와서
살포시 iptables 재시작
/etc/rc.d/init.d/iptables restart

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/04/09 20:14 2009/04/09 20:14
, , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/113

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/113

Leave a comment

블로그 이미지

Stay Hungry Stary Foolish!

- gwlee

TC-Cumulus by reznoa requires Flash Player 9 or better.

Site Stats

Total hits:
60664
Today:
26
Yesterday:
48