티스토리 뷰

connections 접속자 옵션

옵션을 무시하거나 설정하지 않으면 기본 옵션값은 100이다. 


connections 1000


1000명으로 설정 해당 옵션은 값을 늘려서 접속자 퍼포먼스를 늘리는 옵션이기 보다는 PPTP VPN 에 최대 몇명까지 사용가능한지 정확한 수치가 없으므로 

최대 접속자를 제한하겠다는 의미로 받아들여도 될듯 하다 


connection 를 수를 수정하고 pptp 재시작


Jan 15 13:31:12 localhost pptpd[6011]: MGR: Maximum of 1000 connections reduced to 100, not enough IP addresses given

Jan 15 13:31:12 localhost pptpd[6012]: MGR: Manager process started

Jan 15 13:31:12 localhost pptpd[6012]: MGR: Maximum of 100 connections available 


대충 아이피가 부족하게 부여되었으며 최대 100 접속까지 이용가능하다는 의미 셋팅이 되지 않는듯 함


아래와 같이 다시 수정하고

connections 1000

remoteip 10.0.0.1-255,10.0.1.1-255,10.0.2.1-255,10.0.3.1-255


1000개의 접속자를 감당하기 위해 C클래스 4개를 remote 아이피에 지정한뒤 PPTP 재시작

Jan 15 13:34:26 localhost pptpd[6076]: MGR: connections limit (1000) reached, extra IP addresses ignored

Jan 15 13:34:26 localhost pptpd[6077]: MGR: Manager process started

Jan 15 13:34:26 localhost pptpd[6077]: MGR: Maximum of 1000 connections available


실제로 1000명이 접속될지는 모르겠지만 로그에는 1000명의 최대 접속이 가능하다는 로그가 남음

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함