티스토리 뷰

공인아이피 1개 (공유기) 여러명 → VPN 서버 (1대), 즉 같은 장소에서 VPN 1대에 연결이 원할하게 VPN 서비스를 이용 가능한가? 라는 의미이다.


각 VPN conf 파일이나 man page 등을 확인해봐도 해당 부분에 대합 옵션이나 정의가 확실하게 되어 있지는 않았다.


구글링에서 대략 관련 내용을 찾아보았다.


http://serverfault.com/questions/416764/pptp-vpn-server-two-connections-from-the-same-ip-address-but-different-devices

The PPTP protocol uses GRE (Generic Routing Encapsulation) for transporting the payload data. 


The GRE protocol unlike tcp/udp/etc has no ports that can be used to uniquely identify packets from each other that cross a NAT.


The PPTP protocol does use the optional Key header to store a length, call id, and sequence number. 


But some NAT implementations simply don't have the required code to dig into the GRE headers and extract the call id from the key header. This means that they simply use the destination IP addresses to distinguish one packet from another.


I just scanned through the PPTP RFCs, and I didn't see any place where multiple sessions per IP was specifically mentions as not being possible, so my though is that the docs for that PPTP implementation just put the comment in their because of the common difficulty  with PPTP and NAT. 


PPTP http://tools.ietf.org/html/rfc2637

GRE http://tools.ietf.org/html/rfc1701


대략 GRE 프로토콜이 NAT 에서 인식할수 있는 고유값이 없다는것 같다.


이를 해결하기 위해 여러가지 테스팅을 진행해보았다

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
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
글 보관함