Changes

no edit summary
Line 1: Line 1:  +
<p style="color:red">The information in this page is updated in accordance with firmware version [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''RUTX_R_00.07.02.7'''].</p>
 
==Introduction==
 
==Introduction==
   
'''Point-to-Point Tunneling Protocol''' ('''PPTP''') is a Virtual Private Network (VPN) protocol that uses a TCP control channel and a Generic Routing Encapsulation (GRE) tunnel to encapsulate PPP packets.
 
'''Point-to-Point Tunneling Protocol''' ('''PPTP''') is a Virtual Private Network (VPN) protocol that uses a TCP control channel and a Generic Routing Encapsulation (GRE) tunnel to encapsulate PPP packets.
    
This article provides an extensive configuration example with details on how to create a connection between a PPTP Server and Client, both of which are configured on RUTxxx routers.
 
This article provides an extensive configuration example with details on how to create a connection between a PPTP Server and Client, both of which are configured on RUTxxx routers.
    +
=Configuring both server and client PPTP tunnel on our devices=
 
==Configuration overview and prerequisites==
 
==Configuration overview and prerequisites==
   Line 16: Line 17:  
'''Configuration scheme''':
 
'''Configuration scheme''':
   −
[[File:Configuration examples pptp scheme.png]]
+
[[File:Configuration examples pptp scheme.png|border|class=tlt-border|1100x700px]]
    
As indicated by the figure above, the configuration we are trying to achieve here is very basic: it concerns two RUTxxx routers - RUT1 and RUT2. One functions as a PPTP Server, and the other - is a PPTP Client. They are connected to a virtual network via a PPTP Tunnel.
 
As indicated by the figure above, the configuration we are trying to achieve here is very basic: it concerns two RUTxxx routers - RUT1 and RUT2. One functions as a PPTP Server, and the other - is a PPTP Client. They are connected to a virtual network via a PPTP Tunnel.
Line 70: Line 71:     
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/
 
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/
 +
 +
=Configuring client PPTP tunnel using Third-party PPTP service provider=
 +
==Configuration overview and prerequisites==
 +
We are going to use [https://www.vpnbook.com/ VPNBOOK]'s PPTP service to configure our device as a client.<br>
 +
Only one device with RutOS is required.
 +
===Topology===
 +
[[File:PPTPupdate6.png|border|class=tlt-border|1100x700px]]
 +
==Acquiring PPTP server's information==
 +
 +
Open your internet browser and type '''[https://www.vpnbook.com/ www.vpnbook.com]''' in the browser's URL bar.
 +
* Press '''PPTP'''
 +
* Copy desired '''server's address'''.
 +
* '''Write down''' the '''username''' and '''password''' as it will be needed to connect using this provider.
 +
 +
[[File:PPTPupdate1.png|border|class=tlt-border]]
 +
 +
==Router configuration==
 +
 +
* Navigate to '''Services -> VPN -> PPTP'''.
 +
* Type name.
 +
* Choose '''client''' type.
 +
* '''Add''' this new instance.
 +
[[File:PPTPupdate2.png|border|class=tlt-border|1100x700px]]
 +
 +
* Enable new instance
 +
* Paste server's address you've copied earlier
 +
* Type username and password provided by the service provider.
 +
* Enable default route option to route all internet traffic through this PPTP tunnel.
 +
* Save
 +
[[File:PPTPupdate3.png|border|class=tlt-border|1100x700px]]
 +
 +
==Testing==
 +
 +
Using CLI, type "'''ifconfig'''", where you should see a new interface has been created:
 +
[[File:PPTPupdate4.png|border|class=tlt-border|]]
 +
 +
You can check your IP location on [https://whatismyipaddress.com/ WhatIsMyIPAddress].
 +
[[File:PPTPupdate5.png|border|class=tlt-border|1100x700px]]
    
==See also==
 
==See also==

Navigation menu