Changes

no edit summary
Line 27: Line 27:  
===PPTP Server (RUT1)===
 
===PPTP Server (RUT1)===
 
----
 
----
First, lets configure the PPTP '''Server'''. As mentioned in the prerequisites section, the router that acts as the Server must have a Public Static or Public Dynamic IP address (more information on the subject can be found '''[[Private and Public IP Addresses|here]]'''). Other
+
As mentioned in the prerequisites section, the router that acts as the '''server''' must have a Public Static or Public Dynamic IP address (more information on the subject can be found '''[[Private and Public IP Addresses|here]]'''). If that is in order, we should start configuring the server.
    
Log in to the router's WebUI and go to '''Services → VPN → PPTP'''. Select '''Role: Server''', enter a name for the new instance and click the "Add" button:
 
Log in to the router's WebUI and go to '''Services → VPN → PPTP'''. Select '''Role: Server''', enter a name for the new instance and click the "Add" button:
    
[[File:Configuration examples pptp adding server.png]]
 
[[File:Configuration examples pptp adding server.png]]
 +
 
----
 
----
 
Click the "Edit" button located to the right of the newly created PPTP Server to enter the instance's settings window. The configuration is fairly simple, just remember to '''Enable''' the instance:
 
Click the "Edit" button located to the right of the newly created PPTP Server to enter the instance's settings window. The configuration is fairly simple, just remember to '''Enable''' the instance:
Line 59: Line 60:  
[[File:Configuration examples pptp proxy server side 2.png]]
 
[[File:Configuration examples pptp proxy server side 2.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 web proxy.
    
'''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 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.   
Line 65: Line 66:  
===PPTP Client (RUT2)===
 
===PPTP Client (RUT2)===
 
----
 
----
 +
Now let's configure the PPTP '''Client'''. Log in to the router's WebUI and go to '''Services → VPN → PPTP'''. Select '''Role: Client''', enter a name for the new instance and click the "Add" button:
 +
 +
[[File:Configuration examples pptp adding client.png]]
 +
 +
----
 +
Click the "Edit" button located to the right of the newly created PPTP Client to enter the instance's settings window. In the settings window, '''Enable''' the PPTP instance, specify the server's '''Public (WAN) IP address''' and the '''client's authentication''' info as specified in the server's configuration:
 +
 +
[[File:Configuration examples pptp client configuration.png]]
 +
 +
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:
 +
 +
[[File:Configuration examples pptp proxy client side.png]]
    
==Testing the set up==
 
==Testing the set up==
 +
 +
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, log in to one of the routers' WebUI and go to '''Services → CLI'''. Log in 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 pptp testing.png]]
 +
 +
If the ping requests are successful, congratulations, your set up works! If not, we suggest that you review the steps once more.
 +
 +
If you're using the server as a web proxy, end devices connected to the client router should have the Public IP address of the server. You can visit this website to check the Public IP address: http://www.whatsmyip.org/

Navigation menu