http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&action=history&feed=atom PPTP Server Configuration - Revision history 2024-03-28T19:25:42Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=53921&oldid=prev Ian5142: Added PPTP Category. 2018-03-18T13:24:41Z <p>Added PPTP Category.</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:24, 18 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 353:</strong></td> <td colspan="2" align="left"><strong>Line 353:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Save and Apply all settings and '''REBOOT ROUTER'''</td><td> </td><td style="background: #eee; font-size: smaller;">Save and Apply all settings and '''REBOOT ROUTER'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category:<del style="color: red; font-weight: bold; text-decoration: none;">Tunneling]]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:<ins style="color: red; font-weight: bold; text-decoration: none;">PPTP</ins>]]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">[[Category:Advanced tutorials</del>]]</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> </table> Ian5142 http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45921&oldid=prev JNavas: /* IP Addresses */ tweak 2013-12-30T16:06:30Z <p><span class="autocomment">IP Addresses -</span> tweak</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:06, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 8:</strong></td> <td colspan="2" align="left"><strong>Line 8:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== IP Addresses ==</td><td> </td><td style="background: #eee; font-size: smaller;">== IP Addresses ==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">To avoid IP address conflicts, IP addresses on your LAN should be different from LAN addresses at remote VPN points. Since the the default 192.168.1.0 subnet is commonly used, you should set ''<del style="color: red; font-weight: bold; text-decoration: none;">some </del>other range for your LAN'', like 192.168.111.0 (or something random in the vast 10.0.0.0 block) in Setup &gt; Basic Setup.</td><td>+</td><td style="background: #cfc; font-size: smaller;">To avoid IP address conflicts, IP addresses on your LAN should be different from LAN addresses at remote VPN points. Since the the default 192.168.1.0 subnet is commonly used, you should set ''<ins style="color: red; font-weight: bold; text-decoration: none;">an unusual </ins>other range for your LAN'', like 192.168.111.0 (or something random in the vast 10.0.0.0 block) in Setup &gt; Basic Setup.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Security ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Security ==</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45920&oldid=prev JNavas: /* Server IP */ tweak 2013-12-30T16:05:22Z <p><span class="autocomment">Server IP -</span> tweak</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:05, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 68:</strong></td> <td colspan="2" align="left"><strong>Line 68:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Your LAN IP Address. (An IP from your network that is not used by any computer or the router).</td><td> </td><td style="background: #eee; font-size: smaller;">Your LAN IP Address. (An IP from your network that is not used by any computer or the router).</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Example<del style="color: red; font-weight: bold; text-decoration: none;">:'' 192.168.111.2 </del>(assuming DD-WRT LAN address 192.168.111.1)</td><td>+</td><td style="background: #cfc; font-size: smaller;">''Example (assuming DD-WRT LAN address 192.168.111.1)<ins style="color: red; font-weight: bold; text-decoration: none;">:'' 192.168.111.2</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">When you are off site you will try to connect to the VPN (using 1723 for pptp by default). The request will hit the router external IP (the one provided by your ISP). The router NAT will then detect an incoming pkt using port 1723. It will establish a connection to the VPN server by forwarding to 192.168.111.2. The router will create a ppp0 connection on itself which, after connecting to the VPN, you will be able to see. The problem with using the router LAN IP as the pptp server IP is that by default it is bridged and ppp0 can not be added to the bridge. You will connect and will only be able to ping your client IP and the router IP.</td><td> </td><td style="background: #eee; font-size: smaller;">When you are off site you will try to connect to the VPN (using 1723 for pptp by default). The request will hit the router external IP (the one provided by your ISP). The router NAT will then detect an incoming pkt using port 1723. It will establish a connection to the VPN server by forwarding to 192.168.111.2. The router will create a ppp0 connection on itself which, after connecting to the VPN, you will be able to see. The problem with using the router LAN IP as the pptp server IP is that by default it is bridged and ppp0 can not be added to the bridge. You will connect and will only be able to ping your client IP and the router IP.</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45919&oldid=prev JNavas: /* Client IP(s) */ 2013-12-30T16:04:47Z <p><span class="autocomment">Client IP(s)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:04, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 80:</strong></td> <td colspan="2" align="left"><strong>Line 80:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Working Example (assuming DHCP range of 100-199):'' 192.168.111.200-220</td><td>+</td><td style="background: #cfc; font-size: smaller;">''Working Example (assuming DHCP range of <ins style="color: red; font-weight: bold; text-decoration: none;">192.168.111.</ins>100-199):'' 192.168.111.200-220</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45918&oldid=prev JNavas: /* Client IP(s) */ tweak 2013-12-30T16:04:09Z <p><span class="autocomment">Client IP(s) -</span> tweak</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:04, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 80:</strong></td> <td colspan="2" align="left"><strong>Line 80:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Working Example:'' 192.168.111.200-220 <del style="color: red; font-weight: bold; text-decoration: none;">(assuming DHCP range of 100-199)</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">''Working Example <ins style="color: red; font-weight: bold; text-decoration: none;">(assuming DHCP range of 100-199)</ins>:'' 192.168.111.200-220</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45917&oldid=prev JNavas: /* Client IP(s) */ add comment 2013-12-30T16:03:34Z <p><span class="autocomment">Client IP(s) -</span> add comment</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:03, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 80:</strong></td> <td colspan="2" align="left"><strong>Line 80:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td><td> </td><td style="background: #eee; font-size: smaller;">Note: Inputting client IPs in the format 192.168.111.200-192.168.111.220 does not work. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Working Example:'' 192.168.111.200-220</td><td>+</td><td style="background: #cfc; font-size: smaller;">''Working Example:'' 192.168.111.200-220 <ins style="color: red; font-weight: bold; text-decoration: none;">(assuming DHCP range of 100-199)</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td><td> </td><td style="background: #eee; font-size: smaller;">====Max Associated Clients====</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45916&oldid=prev JNavas: /* CHAP-Secrets */ change IP range 2013-12-30T16:00:34Z <p><span class="autocomment">CHAP-Secrets -</span> change IP range</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:00, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 106:</strong></td> <td colspan="2" align="left"><strong>Line 106:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> marcelo * semino *</td><td> </td><td style="background: #eee; font-size: smaller;"> marcelo * semino *</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">or</td><td> </td><td style="background: #eee; font-size: smaller;">or</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> eduardo * crea 192.168.<del style="color: red; font-weight: bold; text-decoration: none;">1</del>.34</td><td>+</td><td style="background: #cfc; font-size: smaller;"> eduardo * crea 192.168.<ins style="color: red; font-weight: bold; text-decoration: none;">111</ins>.34</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">The above will create two accounts: ''''marcelo'''' and ''''&quot;eduardo&quot;'''' with the passwords ''''&quot;semino&quot;'''' and ''''&quot;crea&quot;'''' respectively.</td><td> </td><td style="background: #eee; font-size: smaller;">The above will create two accounts: ''''marcelo'''' and ''''&quot;eduardo&quot;'''' with the passwords ''''&quot;semino&quot;'''' and ''''&quot;crea&quot;'''' respectively.</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45915&oldid=prev JNavas: /* Server IP */ add comment 2013-12-30T15:58:40Z <p><span class="autocomment">Server IP -</span> add comment</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:58, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 68:</strong></td> <td colspan="2" align="left"><strong>Line 68:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Your LAN IP Address. (An IP from your network that is not used by any computer or the router).</td><td> </td><td style="background: #eee; font-size: smaller;">Your LAN IP Address. (An IP from your network that is not used by any computer or the router).</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Example:'' 192.168.111.2</td><td>+</td><td style="background: #cfc; font-size: smaller;">''Example:'' 192.168.111.2 <ins style="color: red; font-weight: bold; text-decoration: none;">(assuming DD-WRT LAN address 192.168.111.1)</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">When you are off site you will try to connect to the VPN (using 1723 for pptp by default). The request will hit the router external IP (the one provided by your ISP). The router NAT will then detect an incoming pkt using port 1723. It will establish a connection to the VPN server by forwarding to 192.168.111.2. The router will create a ppp0 connection on itself which, after connecting to the VPN, you will be able to see. The problem with using the router LAN IP as the pptp server IP is that by default it is bridged and ppp0 can not be added to the bridge. You will connect and will only be able to ping your client IP and the router IP.</td><td> </td><td style="background: #eee; font-size: smaller;">When you are off site you will try to connect to the VPN (using 1723 for pptp by default). The request will hit the router external IP (the one provided by your ISP). The router NAT will then detect an incoming pkt using port 1723. It will establish a connection to the VPN server by forwarding to 192.168.111.2. The router will create a ppp0 connection on itself which, after connecting to the VPN, you will be able to see. The problem with using the router LAN IP as the pptp server IP is that by default it is bridged and ppp0 can not be added to the bridge. You will connect and will only be able to ping your client IP and the router IP.</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45914&oldid=prev JNavas: /* IP Addresses */ tweak 2013-12-30T15:57:27Z <p><span class="autocomment">IP Addresses -</span> tweak</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:57, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 8:</strong></td> <td colspan="2" align="left"><strong>Line 8:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== IP Addresses ==</td><td> </td><td style="background: #eee; font-size: smaller;">== IP Addresses ==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">To avoid IP address conflicts, IP addresses on your LAN should be different from LAN addresses at remote VPN points. Since the the default 192.168.1.0 subnet is commonly used, you should ''<del style="color: red; font-weight: bold; text-decoration: none;">set </del>some other range for your LAN'', like 192.168.111.0 (or something random in the vast 10.0.0.0 block) in Setup &gt; Basic Setup.</td><td>+</td><td style="background: #cfc; font-size: smaller;">To avoid IP address conflicts, IP addresses on your LAN should be different from LAN addresses at remote VPN points. Since the the default 192.168.1.0 subnet is commonly used, you should <ins style="color: red; font-weight: bold; text-decoration: none;">set </ins>''some other range for your LAN'', like 192.168.111.0 (or something random in the vast 10.0.0.0 block) in Setup &gt; Basic Setup.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Security ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Security ==</td></tr> </table> JNavas http://wiki.dd-wrt.com/wiki/index.php?title=PPTP_Server_Configuration&diff=45913&oldid=prev JNavas: /* Client IP(s) */ fix error 2013-12-30T15:56:45Z <p><span class="autocomment">Client IP(s) -</span> fix error</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:56, 30 December 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 78:</strong></td> <td colspan="2" align="left"><strong>Line 78:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">IPs in this range are given clients trying to connect. Should be a valid IP Address on the LAN segment of the network, and outside of the DHCP address range.</td><td> </td><td style="background: #eee; font-size: smaller;">IPs in this range are given clients trying to connect. Should be a valid IP Address on the LAN segment of the network, and outside of the DHCP address range.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Note: Inputting client IPs in the format 192.168.<del style="color: red; font-weight: bold; text-decoration: none;">1</del>.200-192.168.111.220 does not work. </td><td>+</td><td style="background: #cfc; font-size: smaller;">Note: Inputting client IPs in the format 192.168.<ins style="color: red; font-weight: bold; text-decoration: none;">111</ins>.200-192.168.111.220 does not work. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">''Working Example:'' 192.168.111.200-220</td><td> </td><td style="background: #eee; font-size: smaller;">''Working Example:'' 192.168.111.200-220</td></tr> </table> JNavas