作者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