看板 Network 關於我們 聯絡資訊
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
HiJimmy:英文不好用中文回 Gateway設定與DD相同及可 04/05 20:44
HiJimmy:目前取得的IP Gateway 應該是空白的吧? 04/05 20:44
littleb:先謝謝Jimmy兄的回答, 不過還不是很清楚要怎麼設定? 04/05 21:32
littleb:我notebook撥接vpn後的gateway和所取得的ip是一樣的 04/05 21:34
littleb:ex. IP:10.0.0.200 Mask:255.255.255.255 GW:10.0.0.200 04/05 21:35
littleb:而dd-wrt上, Router IP的GW是設成0.0.0.0 04/05 21:36
littleb:但是PPTP Server的設定中, 並沒有GW欄位可以設 04/05 21:36
littleb:所以還是沒有很清楚要如何設定, 再請不吝指導一下, tks :) 04/05 21:37