Changes

Line 28: Line 28:  
----
 
----
 
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.
 
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.
 
+
----
Login 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:
+
* Login 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 v2.png]]
 
[[File:Configuration examples pptp adding server v2.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:
    
[[File:Configuration examples pptp server configuration v2.png]]
 
[[File:Configuration examples pptp server configuration v2.png]]
 
+
----
The rest of the parameters are user preferential so you should set them as you see fit. A short explanation on these parameters is provided below:
+
* The rest of the parameters are user preferential so you should set them as you see fit. A short explanation on these parameters is provided below:
 
+
** '''Local IP''' defines the server's virtual IP address
* '''Local IP''' defines the server's virtual IP address
+
** '''Remote IP range''' parameters define the range of virtual IP addresses that will be assigned to connecting clients
* '''Remote IP range''' parameters define the range of virtual IP addresses that will be assigned to connecting clients
+
** '''User name''' and '''Password''' parameters define a client's authentication info
* '''User name''' and '''Password''' parameters define a client's authentication info
+
** '''PPTP Client's IP''' is used to assign a specific virtual IP to a specific client. It is not mandatory and, if left empty, the client will be assigned an IP address from the Remote IP range specified above
* '''PPTP Client's IP''' is used to assign a specific virtual IP to a specific client. It is not mandatory and, if left empty, the client will be assigned an IP address from the Remote IP range specified above
      
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.  
Line 50: Line 48:  
----
 
----
 
'''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.
 
'''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 Server as a web proxy, you will need to edit one preexisting '''Zone Forwarding''' rule. 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 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]]
   
----
 
----
After this you will be redirected to the PPTP Zone Settings page where you will need to place a check mark next to the '''wan''' destination zone:
+
* After this you will be redirected to the PPTP Zone Settings page where you will need to place a check mark next to the '''wan''' destination zone:
    
[[File:Configuration examples pptp proxy server side 2 v2.png]]
 
[[File:Configuration examples pptp proxy server side 2 v2.png]]
Line 66: Line 63:  
===PPTP Client (RUT2)===
 
===PPTP Client (RUT2)===
 
----
 
----
Now let's configure the PPTP '''Client'''. Login 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:
+
* Now let's configure the PPTP '''Client'''. Login 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 v2.png]]
 
[[File:Configuration examples pptp adding client v2.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:
+
* 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 v2.png]]
 
[[File:Configuration examples pptp client configuration v2.png]]
    
Once this is done, don't forget to save the changes.
 
Once this is done, don't forget to save the changes.
   
----
 
----
'''Optional''':
+
* '''Optional''': <br> 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:
 
  −
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 v2.png]]
 
[[File:Configuration examples pptp proxy client side v2.png]]

Navigation menu