【OpenWRT】—— PPTP client traffic routed to remote gateway
本帖最後由 角色 於 2014-2-3 17:20 編輯
The following pictures illustrate the instruction methods of PPTP Client on OpenWRT machine and the local traffic will be routed to the remote gateway of the remote VPN server. In the following example, OpenWRT 12.09 is used.
1. Click [System]->[Software]. Before the installation of any packages, update the package list of OpenWRT
2. Install the package "ppp-mod-pptp"
3. Wait for a moment, it gives the following screen
4. Check installed packages which includes "ppp-mod-ppp"
5. Click [Network]->[Interface]. Go to the bottom and click "Add new interface"
6. Enter "vpn" in the field "Name of the new interface" and select "PPtP" in field "Protocol of the new interface". Press "Submit" to proceed to the next screen in 7.
7. Enter <VPN server name or ip> in the field "VPN Server". Enter <VPN user name> in the field "PAP/CHAP username". Enter <VPN password> in the field "PAP/CHAP password". Press "Save & Apply" to proceed.
8. Click "Advanced Settings" and note the check of "Bring up on boot". If it is changed, then press "Save & Apply" to proceed.
9. Click "Firewall Settings" and change the "Create/Assign firewall-zone" to "WAN". Press "Save & Apply" to proceed.
10. Choose [Network]->[Firewall]->[General Settings], check "vpn" added to the WAN. (You do not need to change everything).
11 Go to [Network]->[Interfaces] and check whether you have the following the screen
12. Reboot the router to make the PPTP client work for you
References:
【1】http://wiki.openwrt.org/doc/howto/vpn.client.pptp
【2】http://www.openwrt.org.cn/bbs/archiver/?tid-1480.html
【3】http://www.hkepc.com/forum/viewthread.php?tid=1697252 |
附件:
您需要登錄才可以下載或查看附件。沒有帳號?註冊