Changes

no edit summary
Line 44: Line 44:  
Once you're done setting these parameters don't forget to click the '''Save''' button.  
 
Once you're done setting these parameters don't forget to click the '''Save''' button.  
   −
====Setting up a proxy (optional)====
+
====Setting up PPTP server as default gateway (optional)====
 
----
 
----
'''Web proxies''' facilitate access to content on the World Wide Web and provide anonymity for the connecting clients. This is because the web proxy relays connected clients' requests through itself. Thus, the clients effectively "adopt" the server's Public IP address.
+
* If you plan on using the PPTP connection as your default gateway, you will need to edit one preexisting '''Zone Forwarding''' rule in addition to the server configuration. In the router's WebUI, go to '''Network → Firewall → General Settings''', locate '''pptp''' in the Zone Forwarding table and click the "Edit" button next to it:
----
  −
* If you plan on using the PPTP Server as a web proxy, you will need to edit one preexisting '''Zone Forwarding''' rule in addition to the server configuration. In the router's WebUI, go to '''Network → Firewall → General Settings''', locate '''pptp''' in the Zone Forwarding table and click the "Edit" button next to it:
      
[[File:Configuration examples pptp proxy server side 1 v2.png]]
 
[[File:Configuration examples pptp proxy server side 1 v2.png]]
Line 56: Line 54:  
[[File:Configuration examples pptp proxy server side 2 v2.png]]
 
[[File:Configuration examples pptp proxy server side 2 v2.png]]
   −
After you save the changes your PPTP Server will now also act as a web proxy.
+
After you save the changes your PPTP Server will now also act as a gateway for your PPTP clients.
   −
'''NOTE''': this step is purely optional and should be used only if you plan on using your server as a web proxy for your clients. If you are just planning to use PPTP to connect multiple remote networks into a single virtual network, you should probably skip this step.
+
'''NOTE''': this step is purely optional and should be used only if you plan on using your server as a gateway for your clients, i.e. access to the Internet via the PPTP. If you are just planning to use PPTP to connect multiple remote networks into a single virtual network, you should probably skip this step.
    
===PPTP Client (RUT2)===
 
===PPTP Client (RUT2)===
Line 72: Line 70:  
Once this is done, don't forget to save the changes.
 
Once this is done, don't forget to save the changes.
 
----
 
----
* '''Optional''': if you plan on using the server as a web proxy, you should also enable the '''Use as default gateway''' option in the client's configuration:
+
* '''Optional''': if you plan on using the server as a default gateway, you should also enable the '''Use as default gateway''' option in the client's configuration:
    
[[File:Configuration examples pptp proxy client side v2.png]]
 
[[File:Configuration examples pptp proxy client side v2.png]]
   −
==Testing the set up==
+
==Testing the setup==
   −
If you've followed the steps presented above, your configuration should be finished. But as with any other configuration, it is always wise to test the set up in order to make sure that it works properly. In order to test a PPTP connection, login to one of the routers' WebUI and go to '''Services → CLI'''. Login with user name: '''root''' and the router's admin password. You should then be able to '''ping''' the opposite instance, i.e., if you logged in to the server's CLI, you should be able to ping the client's virtual IP address, and vice versa. To use a ping command, type '''ping <ip_address>''' and press the "Enter" key on your keyboard:
+
If you've followed the steps presented above, your configuration should be finished. But as with any other configuration, it is always wise to test the setup in order to make sure that it works properly. In order to test a PPTP connection, login to one of the routers' WebUIs and go to '''Services → CLI'''. Login with user name: '''root''' and the router's admin password. You should then be able to '''ping''' the opposite instance, i.e., if you logged in to the server's CLI, you should be able to ping the client's virtual IP address, and vice versa. To use a ping command, type '''ping <ip_address>''' and press the "Enter" key on your keyboard:
    
[[File:Configuration example l2tp pptp testing.png]]
 
[[File:Configuration example l2tp pptp testing.png]]
   −
If the ping requests are successful, congratulations, your set up works! If not, we suggest that you review all steps once more.
+
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.
   −
If you're using the server as a web proxy, end devices connected to the PPTP client router should have the Public IP address of the PPTP server. You can visit this website to check the Public IP address: http://www.whatsmyip.org/
+
If you're using the server as a default gateway, end devices connected to the PPTP client router should have the Public IP address of the PPTP server. You can visit this website to check the Public IP address: http://www.whatsmyip.org/
    
==See also==
 
==See also==
    
* Other types of VPNs suported by RUTxxx devices:
 
* Other types of VPNs suported by RUTxxx devices:
** [[L2TP configuration examples]]
   
** [[OpenVPN configuration examples]]
 
** [[OpenVPN configuration examples]]
 
** [[IPsec configuration examples]]
 
** [[IPsec configuration examples]]
 +
** [[GRE Tunnel configuration examples]]
 +
** [[L2TP configuration examples]]