공유기 성능에 따라 VPN 통신속도 1MB/s 정도로 제한되기도 한다고

[링크 : https://www.clien.net/service/board/kin/10024149]


PPTP설정시

1723/all

47/gre 설정이 되어야 한다는데

GRE는 머지?

[링크 : https://livingmethod.wordpress.com/2015/03/19/iptime-공유기에서-내부-pptp서버-운영하기/]


GRE 메카니즘을 쓰는데 프로토콜로서 정해지는게 아닌거 같은데 머지?

PPTP uses an enhanced GRE (Generic Routing Encapsulation) mechanism to provide a flow- and congestion-controlled encapsulated datagram service for carrying PPP packets. 

[링크 : https://tools.ietf.org/html/rfc2637]


+

일단 중요한건 이게 아니라..

설정이 잘못된건지 모르겠지만

VPN을 통해서 접속하고 포트 포워딩을 통해 80번 포트나 22번 포트를 돌려줘도 외부에서 접속이 되지 않는다.

접속 설정 문제인지, iptime VPN의 제한인진 확인필요



+

2018.05.14

EFM에 문의해보니 원격지 게이트웨이 문제인 것 같다고.

[링크 : http://iptime.com/iptime/?page_id=174&nType=...=]


다시 설정해서 route 목록을 확인해봐야겠다.

Routing

Once you have connected to your VPN, you should be able to interact with anything available on the VPN server. To access anything on the remote network, you need to add a new route to your routing table.


Note: Depending on your configuration, you may need to re-add the routing information every time you connect to your VPN.

For more information on how to add routes, you can read this article which has many more examples: PPTP Routing Howto


Split Tunneling

Packets with a destination of your VPN's network should be routed through the VPN interface (usually ppp0). To do this, you create the route:


# ip route add 192.168.10.0/24 dev ppp0

This will route all the traffic with a destination of 192.168.10.* through your VPN's interface, (ppp0).


Route All Traffic

It may be desirable to route all traffic through your VPN connection. You can do this by running:


# ip route add default dev ppp0 

[링크 : https://wiki.archlinux.org/index.php/PPTP_Client]


+

버전이 낮아서 버그가 있다 보니 그런건가..

100일 정도 리부팅 안하고 써서 맛이 간건가..

일단 한번 접속하고 끊으면 안 붙는 문제는 수정 된것 같으나

default remote gateway 문제인지 포트포워딩으로 접속이 안된다.

$ route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

default         192.168.10.1    0.0.0.0         UG    100    0        0 eth0

125.177.70.133  192.168.10.1    255.255.255.255 UGH   0      0        0 eth0

link-local      *               255.255.0.0     U     1000   0        0 eth0

192.168.10.0    *               255.255.255.0   U     100    0        0 eth0

192.168.219.1   *               255.255.255.255 UH    0      0        0 ppp0


$ sudo poff SARANG


$ route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

default         192.168.10.1    0.0.0.0         UG    100    0        0 eth0

125.177.70.133  192.168.10.1    255.255.255.255 UGH   0      0        0 eth0

link-local      *               255.255.0.0     U     1000   0        0 eth0

192.168.10.0    *               255.255.255.0   U     100    0        0 eth0 


'프로그램 사용 > VPN(PPTP)' 카테고리의 다른 글

VPN / 웹서버 설정  (0) 2018.05.14
rpi vpn client 설치 및 설정!  (0) 2018.05.12
Posted by 구차니