Differences

This shows you the differences between two versions of the page.

doc:howto:vpn.server.pptpd [2013/03/18 14:50]
povlhp Simplified rules, accepting everything in/out of ppp.
doc:howto:vpn.server.pptpd [2013/10/28 08:31] (current)
lorema
Line 8: Line 8:
===== Oldwiki: PPTP Daemon ===== ===== Oldwiki: PPTP Daemon =====
 +| For an overview over all existing Virtual private network (VPN)-related articles in the OpenWrt wiki, please visit [[doc/howto/vpn.overview]] |
This HOWTO describes how to install and configure //pptpd// on OpenWrt. See -> [[doc:howto:vpn.client.pptp]] to setup a client. This HOWTO describes how to install and configure //pptpd// on OpenWrt. See -> [[doc:howto:vpn.client.pptp]] to setup a client.
===== Required Packages ===== ===== Required Packages =====
<code> <code>
-opkg install pptpd+opkg install pptpd kmod-mppe
/etc/init.d/pptpd enable /etc/init.d/pptpd enable
/etc/init.d/pptpd start /etc/init.d/pptpd start
Line 18: Line 19:
pptpd will be running, and will be running on boot.  Add a user to ''/etc/ppp/chap-secrets'' (see below).  Optionally add //proxyarp// to ''/etc/ppp/options.pptpd''.  Then try to connect from a client. pptpd will be running, and will be running on boot.  Add a user to ''/etc/ppp/chap-secrets'' (see below).  Optionally add //proxyarp// to ''/etc/ppp/options.pptpd''.  Then try to connect from a client.
 +
 +The kernel module kmod-mppe is needed for encryption. If you are on trunk, you might need to update your firmware to latest before installing kernel modules, as the kernel sometimes changes, thus the trunk repository modules will not match the older kernel.
===== OpenWrt Generic ===== ===== OpenWrt Generic =====
Line 73: Line 76:
</code> </code>
-See the [[doc:uci:firewall]] for help.+See the [[doc:uci:firewall]] for help. Be aware that $WAN might not be defined. If that is the case, insert the interface name instead. I.e. replace $WAN by eth1.
Alternatively you can configure the firewall using UCI in "/etc/config/firewall": Alternatively you can configure the firewall using UCI in "/etc/config/firewall":

Back to top

doc/howto/vpn.server.pptpd.1363614605.txt.bz2 · Last modified: 2013/03/18 14:50 by povlhp