作者littleb (littleb)
看板Network
标题[问答] Need help for Client IP routing of PPT
时间Fri Apr 5 19:12:51 2013
Hi,
I've set my dd-wrt router to be a PPTP Server as below.
(1) Router IP:
a) Local IP Address: 192.168.1.1
b) Subnet Mask: 255.255.255.0
c) Gateway: 0.0.0.0
(2) PPTP Server:
a) Server IP: 0.0.0.0
b) Client IP(s): 192.168.1.200,10.0.0.200
c) CHAP-Secrets:
user1 * password1 192.168.1.200
user2 * password2 10.0.0.200
My question is:
When I connect to the router via PPTP VPN with 'user1', my notebook can get
the Client IP '192.168.1.200' and I can connect to the internet and any LAN
side IP 192.168.1.x successfully.
If I connect with 'user2', my notebook can get Client IP '10.0.0.200'.
Meanwhile, I can only connect to 192.168.1.1, but cannot connect to internet
nor any LAN side IP 192.168.1.x.
I guess it's a routing issue.
So please help to tell me what should I config?
Thanks very much for your answer.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.73.234.182
1F:推 HiJimmy:英文不好用中文回 Gateway设定与DD相同及可 04/05 20:44
2F:→ HiJimmy:目前取得的IP Gateway 应该是空白的吧? 04/05 20:44
3F:→ littleb:先谢谢Jimmy兄的回答, 不过还不是很清楚要怎麽设定? 04/05 21:32
4F:→ littleb:我notebook拨接vpn後的gateway和所取得的ip是一样的 04/05 21:34
5F:→ littleb:ex. IP:10.0.0.200 Mask:255.255.255.255 GW:10.0.0.200 04/05 21:35
6F:→ littleb:而dd-wrt上, Router IP的GW是设成0.0.0.0 04/05 21:36
7F:→ littleb:但是PPTP Server的设定中, 并没有GW栏位可以设 04/05 21:36
8F:→ littleb:所以还是没有很清楚要如何设定, 再请不吝指导一下, tks :) 04/05 21:37