Pages

Friday, 26 April 2013

SSTP VPN Setup Tutorial

SSTP VPN默认使用443端口还可以直接在填域名时指定端口sstp-us2.finevpn.com:80这样就会使用80端口传输(需要服务器支持),很好的解决了封端口的问题,当然OpenVPN这些也都能啦,还有SSTP VPN如果给你的服务器是域名你使用其对应IP连接就会出错,遇到DNS污染只能通过修改hosts解决,其他几种类型的都可以直接使用IP 连接,其他VPN服务器域名若被GFW DNS污染,导致不能连接,可以直接使用其VPN服务器域名对应真实IP连接.

SSTP VPN也越来越流行了,它是微软制定的一个ssl vpn,默认使用tcp 443端口传输可以很好的应付端口封锁和透过代理/防火墙连接,穿透能力强不易封杀,默认只在Windows 7和Vista等微软新系统上使用,不过Ubuntu上也有了开源的解决方案。


SSTP-Client — 在Linux系统上使用SSTP VPN

SSTP VPN是微软推出的用于替代PPTP和L2TP的类似于OpenVPN的SSL VPN,由于其默认使用https使用的tcp 443端口所以能很好的穿越防火墙、方便的透过http代理。不过桌面系统上只有Windows Vista / 7能够使用,SSTP-Client就是为解决Linux系统上使用SSTP VPN而开发的。
目前SSTP Client已经能够在Linux系统上正常使用SSTP VPN,还可以集成到GNOME的网络插件NetworkManager里更方便的使用,以下是在Ubuntu系统上的配置截图。

Network Manager Plugin Photo
未来还会增加对在Linux服务器部署SSTP VPN服务的支持、透过http代理的支持及Android和iPhone系统的移植。
项目地址:http://sstp-client.sourceforge.net/
下载地址:http://sourceforge.net/projects/sstp-client/files/
-------------------------------------------------------------------------

SSTP VPN Setup Tutorial

Automated Setup

StrongVPN Client Windows Installer
Compatible with Windows XP, Windows Vista, Windows 7, Windows 8
Just download, install and login with your Billing Email and Password
Once installed you can switch locations, easily connect and disconnect, and much more.

Manual Setup is as follows:

Step 1

Begin at the desktop.
Step 2

Click the round Windows start icon, and click Control Panel
Step 3

Click Network and Internet
Tip: If you cannot find the Network and Internet option, Make sure View by: is set to Category on the top right of the Control Panel window.
Step 4

Click Network and Sharing Center
Step 5

Click Set up a new connection or network
Step 6

Click Connect to a workplace
Step 7

Click Use my Internet connection (VPN)
Step 8

For Internet Address enter the Server Address you received in your greeting email. It will be different from the example shown here.
Hint: Internet address is your Server Address, you can find it in the Customer Area (check this page).
Enable the Don't connect now; just set it up so I can connect later option. This is because we must add additional settings to the VPN before we connect it.
Then click Next
Step 9

For User name, enter the VPN username you received in your Greeting email. It will be different from the example shown here.
For Password, enter the VPN password you receive in your Greeting email.
Hint: User name and Password also can be found in the Customer Area (check here).
Then click Create
Step 10

Click Close
Step 11

Click Change adapter settings
Step 12

Double click on the StrongVPN connection icon
Step 13

Click Properties
Step 14

Select the Security tab
From the Type of VPN drop-down menu, select Secure Socket Tunneling Protocol (SSTP)
Click OK
Step 15

Click Connect
Step 16

Allow the VPN to finish connecting. The initial connection may take a while. After it is done, you may close the Control Panel window.
Step 17

It may not pop-up immediately, but Windows may ask for you to "Set a location" for the new VPN connection. When you receive this message, select Public Network
Step 18

To disconnect the VPN when needed, start from the Desktop, and click the Network and Sharing tray icon. It looks like a square computer monitor with a plug next to it.
Step 19

Click StrongVPN
Step 20

You may then select Disconnect to disable the VPN. Please try this once, so you may remember how to accomplish this later on. The next step will describe how to re-connect.
Step 21

Return to the Network and Sharing tray icon menu, select StrongVPN once again, and click Connect

Helpful Pages

 from http://strongvpn.com/setup_windows_7_sstp.shtml
----------------------------------------------------------------------

How to set up SSTP vpn on Windows 7

  1. Open the Control Panel, choose "Network and Internet" and then "Network and Sharing Center".
  2. Click on "Setup a new connection or network".
  3. Select "Connect to a workspace" and then click on "Next" button.
  4. Click on "Use my Internet connection".
  5. Now enter the VPN server address (sstp- must be prior standard server address. EXAMPLE: us2.finevpn.com -> sstp-us2.finevpn.com), then enter "UnblockVPN.com SSTP" in the "Destination name". Click on "Next" button.
  6. Enter your UnblockVPN Account details - your email as User name and Password. Connect the VPN by clicking on "Connect" button.
  7. Click on "close".
  8. Left click on network icon in your system tray then right click on "UnblockVPN.com SSTP" and choose "Properties".
  9. Click on "Security" and choose the type of VPN connection as "Secure Socet Tunneling Protocol (SSTP)". Then click on "Ok" button.
  10. Left click on the icon on your desktop panel and click on "Connect" button.
  11. Check your UnblockVPN user details and click on "Connect" button.
  12. Your connection has been established.
  13. For any further VPN connection please use the UnblockVPN.com SSTP connection icon in "Network Connections" or left click on network icon in system tray.
You can specify server port address for example: sstp-us2.finevpn.com:993 (IMAPS port 993). See available SSTP ports here.

from  http://unblockvpn.com/support/how-to-set-up-unblock-vpn-sstp-on-windows7.html