[問答] Need help for Client IP routing of PPT

看板Network作者 (littleb)時間11年前 (2013/04/05 19:12), 編輯推噓2(207)
留言9則, 2人參與, 最新討論串1/1
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

04/05 20:44, , 1F
英文不好用中文回 Gateway設定與DD相同及可
04/05 20:44, 1F

04/05 20:44, , 2F
目前取得的IP Gateway 應該是空白的吧?
04/05 20:44, 2F

04/05 21:32, , 3F
先謝謝Jimmy兄的回答, 不過還不是很清楚要怎麼設定?
04/05 21:32, 3F

04/05 21:34, , 4F
我notebook撥接vpn後的gateway和所取得的ip是一樣的
04/05 21:34, 4F

04/05 21:35, , 5F
ex. IP:10.0.0.200 Mask:255.255.255.255 GW:10.0.0.200
04/05 21:35, 5F

04/05 21:36, , 6F
而dd-wrt上, Router IP的GW是設成0.0.0.0
04/05 21:36, 6F

04/05 21:36, , 7F
但是PPTP Server的設定中, 並沒有GW欄位可以設
04/05 21:36, 7F

04/05 21:37, , 8F
所以還是沒有很清楚要如何設定, 再請不吝指導一下, tks :)
04/05 21:37, 8F
文章代碼(AID): #1HNh6s85 (Network)