آموزش تصویری ساخت کانکشن وی پی ان در لینوکس

How to configure the PPTP VPN connection in Ubuntu Linux:

1. Network Manager
Click on the 'Network Manager' icon on your desktop bar 'Notification Area'. This icon can be in the shape of 2 computer screens or arrows or a signal meter if its a wi-fi connection that you use.


2. Configure VPN
Choose 'VPN Connections' then click onto 'Configure VPN' from the sub menu.


3. Create VPN
Press the 'VPN' tab to ensure you are on the correct setup.



4. Add new connection
Press 'Add' to add a new connection configuration.


5. Create PPTP
On the new 'Create VPN Connection' window, choose 'Point-to-Point Tunneling Protocol (PPTP)' as the VPN connection type and click on the 'Create' button.


6. Name the connection
Fill in a friendly name for the new connection.
7. Server IP
Enter the IP of the server you are connecting to in the 'Gateway' field.
8. Login Details
Enter your vpnuk login details into the username and password fields.
9. Advanced Options
Click onto the 'Advanced' button.



10. PPTP Advanced options
Check all of the 'Security and compression' options, this usually means placing a check in the 'Use point to point encryption MPPE', 'Allow Stateful Encryption' and 'Send PPP echo packets' checkboxes, then click on 'OK'.



11. Apply Settings
Click onto the 'Apply' button to save your configuration settings.

12. Connection setup complete
Thats it! You can now close the 'Network Connections' window.

[END]



Connecting the PPTP VPN server

1. Open Network Manager
Click onto the Network Managfer icon in the taskbar.


2. Choose Connection
Click onto the newly created VPN Connection from the 'VPN Connections' sub menu.


3. Connected!
Once Connected you will see a small padlock on the network manager icon.





TROUBLESHOOTING

Q. I am struggling to set it up on an eeepc laptop...

A 1. You have to open linux console window
2. kwrite /etc/ppp/peers/vpn1
3. After the name and remotename entries, add mtu 1436
4. At end of file, add refuse-eap
5. Save it, and restart the network connection for VPN

Comments