프로그램 사용/VPN(PPTP)

VPN / 웹서버 설정

구차니 2018. 5. 14. 15:03

일단.. iptime은 죄가 없었고..

내 무지가 바로 죄.. ㅠㅠ


일단 임시로 설정 바꾸니 잘~된다.

default gate가 eth0로 되어있다 보니 생긴 문제..

$ 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 route add default gw 192.168.219.1 ppp0


$ route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

default         192.168.219.1   0.0.0.0         UG    0      0        0 ppp0

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 

[링크 : https://zetawiki.com/wiki/우분투_기본_게이트웨이_변경]