제 아이피주소 외부접속이 안됩니다.
글쓴이: sbk9803 / 작성시간: 목, 2019/02/21 - 6:50오전
지금까지 한일
1.가상머신 설치
2.centos7 다운로드후 사용
3.nginx 다운로드해서 가상호스트사용 ip주소:8001/a.txt입력시 지정폴더안에있는 a.txt가 나오도록 설정
4.php다운로드후 nginx와 연동
5.mariadb와 pure-ftpd다운로드하고 서로 연동해서 site_1,site_2,site_3사용자와 각각 비밀번호등록
6.방화벽 selinux 전부 끔
위에적은것들을 실행하고나서 제 아이피:8001 해서 원하는 페이지가나왔습니다. 그래서 이제 외부접속을 하려고하는데 안되서 해결방법을 찾다가 dmz 설정을 하라더군요. 그래서
외부접속을 위해서 한일
1.dmz설정 접속허용으로 변경
2./etc/nginx/nginx.conf 파일에서 listen부분을 *:80으로 변경
위의것들을 해봤는데 핸드폰 와이파이로는 접속이되지만 와이파이를끄고 접속했을때는 다른사이트는 접속이되지만 제 아이피 접속은안됩니다. 문제점이 무엇인지 아신다면 알려주세요!
Forums:
댓글 달기