Jump to content

PPTP configuration examples RutOS: Difference between revisions

no edit summary
No edit summary
Line 5: Line 5:
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 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.
==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|]]


==See also==
==See also==