Author Topic: VPN setup for WZR-HP-G300NH  (Read 9917 times)

Colin137

  • Big Bull
  • *****
  • Posts: 1125
VPN setup for WZR-HP-G300NH
« on: May 21, 2009, 06:56:14 PM »

 Since the VPN server setup for the WZR-HP-G300NH is not explained in the manual, here's a sticky for the setup. If you have problems or questions, please post in a separate thread.

 

 

 

  • This walkthrough assumes a few things, the setup will be slightly different otherwise.
    • The router is directly connected to the internet.
    • The ISP allows PPTP VPN traffic on their network.
    • The computer that's setting all this up is connected directly to the router (that is, not remote).
  • There are three main parts to the setup:
    • Set up the router for Dynamic DNS (DDNS) using DynDNS or TZO(This isn't really necessary, but if you have a dynamic IPthrough cable or DSL, your public IP address will change occasionally)
    • Set up the VPN Server in the router
    • Set up the client computer's PPTP connection

DDNS setup through DynDNS.com

DynDNS.com and TZO.com have Dynamic DNS services that link yourpublic IP address to yourhostname.domainname.com, so you don't have toknow your public IP address to access your network. The DDNS client onthe router updates the IP address given to the DDNS provider's serverwhen it changes. This means that yourhostname.domainname.com willdirect traffic to your public IP address, even after the IP addresschanges, assuming the DDNS client is set up correctly. TZO.com is apaid service, but DynDNS.com offers free DDNS services. The setuplisted here is for DynDNS.com, since it's free and I've never used TZO.

  • In order to use the DDNS feature of the router, the router musthave a public Internet/WAN IP address and a working internetconnection.

This is the setup for DynDNS. We have no control over DynDNS, so we cannot support it beyond basic setup:

  1. Create an account at www.dyndns.com.
  2. Once you've logged in, click on the My Services link in the top right corner of the page.
  3. In the Host Services heading, click the Add Hostname link.
  4. Pick a hostname. There are two parts, the subdomain and thedomain. Make up a subdomain, and pick a domain from the available onesin the pulldown box.
  5. Set the Service Type to Host with IP Address. Click the linkthat says "Use auto detected IP address", then click Create Host.Wildcard and Mail Routing are not necessary.
  6. After the hostname has been created, click Next, then Activate Services.

You now have yourhostname.domainname.com set up, and can continue with configuring the router for DDNS:

  1. Log in to the web interface of the router. Click on Internet/LAN, then DDNS.
  2. Change Dynamic DNS Service to DynDNS or TZO
  3. Enter in the DDNS information. For DynDNS, the settings areUser Name, Password, and Hostname. The username and password are forthe account set up on dyndns.com. The hostname is the full hostnamethey set up, for example, yourhost.dyndns.org.
  4. After clicking Apply, the Current Dynamic DNS Information table should list the WAN IP, Domain Name, and Status.

VPN Server setup

A basic VPN setup is pretty simple to configure:

  1. Log in to the web interface of the router. Click on Internet/LAN, then VPN Server.
  2. Ignore the red text telling you that "The LAN side IP addressand DHCP IP address pool should be changed." That error is onlyreferring to potential issues if you have another Buffalo router on thenetwork with an active DHCP server.
  3. Check the box to enable the PPTP Server Function. If you'renot sure which Authorization Type to use, leave it set on MS-CHAPv2(40/128-bit Encryption). Click Apply.
  4. Click the Edit User Information button. Create ausername/password combination for PPTP clients to use. You can createmultiple users. Click Add User. The new user should appear in the PPTPUser List with their status.

VPN Client Setup

Setting up the client computer to connect to the VPN server is simple too:

  1. Go to the Network Connections control panel. On the left, click Create a New Connection to bring up the
  2. Click Next. Select "Connect to the network at my workplace",click Next. Select "Virtual Private Network connection", click Next.
  3. For Company Name, type in the name you would like theconnection to show up as, then click Next. Select "Do not dial theinitial connection", click Next.
  4. For Host name or IP address, enter the DDNS hostname that youset up, or the public IP address of the router. Click Next a few moretimes to finish the wizard.

Once this setup is done, that computer will be able to connect tothe VPN server when it is connected elsewhere on the internet. Toconnect, click Start->Connect to, then select the name you set up inCompany Name. You'll be prompted for the username and password that youset up in the PPTP User List.

 

Message Edited by Colin137 on 05-21-2009 07:11 PM