jane * janespassword *
If you are running a RADIUS / AAA server, you can verify the VPN user for it by enabling RADIUS and entering server details.
When all is done, click Apply Settings , then your changes will be saved and applied.
Kiểm TRA
Now we will test the VPN server on the local network:
In Windows XP, click Start> Connect to> Show all connections . Then on the window that appears, double-click New Connection Wizard . On the wizard, click Next . Click Connect to the network at my workplace and click Next . Select the Virtual Private Network connection and click Next . Type in a name for Company Name and click Next . Enter the internal IP of the router (192.168.1.1), click Next , and then click Finish . The login dialog box will appear, this is where you can enter the username and password you created on the server. Then click Connect and it will work.
In Windows 7, call Network and Sharing Center and click Set up a new connection or network . On the Wizard, select Connect to a workplace and click Next. Click Use my Internet connection (VPN) . On the next page, enter the router's internal IP address (192.168.1.1), type in the destination name, and then click Next. You will be prompted for username and password. Enter the username and password you set before you configure the server and click Connect. Wait a minute, if successful, it will say that You are connected .
Create a Hostname for dynamic IP
If the DD-WRT router is connected to the Internet that has a changed IP address (also known as a dynamic address), then you will definitely want to set up a hostname (sub-domain). This allows you to get an Internet address (for example, myhomenet.getmyip.com ) that always points to the router's current IP. Allows you to connect to the VPN server when out and about without having to worry about changing the IP. Conversely, if it has changed, someone must have physically checked the router and given you a new IP.
No-IP and Afraid.org are two free dynamic DNS services that you might consider now. When registering the service, you will have a host name, account name, and password. Launch the DD-WRT control panel, click Setup> DDNS and enter the required information. Then your router will always update the service and hostname with your current IP.
Don't forget to use your hostname instead of Internet IP when configuring VPN client settings.
Configure remote access
To connect to your VPN server from the Internet when away, Windows must be configured to your Internet IP address (or hostname if you have created it), not a local IP address (192.168.1.1). If you follow the directions above and have created a connection from within the local network, then you can change the IP:
In Windows XP, click Start> Connect to> Show all connections . Then right-click on the VPN connection and select Properties .
In Windows 7, click the network icon, right-click the VPN connection from the list and select Properties .
Start connecting
Now everything is ready for you to go. The next time you need to access the network while you're out and secure your traffic on a public network, you can use your VPN server. However, just remember that the remote router and the network must also allow VPN connections, which usually does not cause problems.