Saturday, May 10, 2008

Make your dynamic ip into static & Setup Vpn With Dsl Router.

Recently I had problems with VPN because I have DSL router and dynamic ip. And to create VPN you have to have static ip address, so users can access to your VPN server. So first of all there’s a question: how to make my dynamic ip static?
The answer is simple. You visit the site dyndns.org and create yourself an account. Then... you go to services, and select this option:

Dynamic DNS - A free DNS service for those with dynamic IP addresses.


You click on create hosts and then, you write on the blank text area how would you like to call your host. (so users can access your pc hostname)



So... the name is always the same so users can access the vpn server no matter what is the ip address.


how to make your computer VPN server, (in windows XP)?
1. Click Start > Control Panel.
2. In the Control Panel, open the Network Connections > Create New Connection
Then..

3. On the Welcome To The New Connection Wizard page, click Next.
4. On the Network Connection Type page select the Set Up An Advanced Connection option.
5. On the Advanced Connection Options page select the Accept Incoming Connections option and click Next.
6. On the Devices For Incoming Connections page, I don’t need to connect any devices I just click Next.

7. On the Incoming Virtual Private Network (VPN) Connection page, select the Allow Virtual Private Connections option and click Next.

8. On the User Permissions page, select the users that are allowed to make incoming VPN connections. Click Next.

9. On the Networking Software page click on the Internet Protocol (TCP/IP) entry and click the Properties button.

10. Then you select the range of ip addresses you like to assign.

11. On the Completing The New Connection Wizard page, click Finish to create the connection.

There is a slight difference in creating connection in Windows 2003 server, but the main steps are the same.

And the last thing is.. for the user who want to access this VPN server.

How to make a new VPN connection?

1.Click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
2.Click Create a new connection, and then click Next.


3.Click Connect to the network at my workplace, and then click Next.
4.Click Virtual Private Network connection, and then click Next.
5.Type a descriptive name for your company, and then click Next.
6. Then on VPN server selection you write the host name of the VPN server
7. Click Finish.

And that’s it. This worked for me. Thanks to the dyndns.org I solved the problem.

No comments: