Koozali.org: home of the SME Server

OpenVPN

Offline eiceic

  • ***
  • 118
  • +0/-0
    • http://www.eicsoftware.com
OpenVPN
« on: May 19, 2006, 06:48:57 PM »
I set up OpenVPN on my 6.0.1 sme -- I can connect to the server just fine, but I can not connect to any other PC in that local network.

With the built-in PPTP VPN, I could just connect to the server and then I would be able to vnc into any computer in the local network.  How do I get this ability with the OpenVPN?   Is it a setting in the Server or the VPN Client?

Thanks,

Chris Buechler

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
OpenVPN
« Reply #1 on: May 20, 2006, 06:36:26 AM »
This is most likely due to routing tables on the SME server or default gateway for the pc's inside your LAN.

If the clients are getting IP addess from the server (that terminates OpenVPN) then it is usually the default gateway - if not make sure it will be.

Secondly ensure that the route in the server.conf is set correctly

 push "dhcp-option DOMAIN   yourdomain.com"                # push the DNS domain suffix
push "dhcp-option DNS 192.168.1.1"                      # push primary DNS entry to the openvpn clients.
push "route 192.168.1.0 255.255.255.0 192.168.100.1"    # add route to to protected network

Offline nefkho

  • ****
  • 183
  • +0/-0
    • http://www.cagothonglines.com
hi, can you help me setup the openvpn on my SME6.0.1-01
« Reply #2 on: August 14, 2006, 09:15:16 AM »
hi,

i have setup the installed opvenvpn and setup and change the router ip from 192.168.1.1 b'coz its already been used and i have change it to 192.168.0.5 whichc is the local ip of my sme is this correct? upon testing from workstation on my lan i got the ff error below:

Mon Aug 14 14:57:01 2006 us=796339 Expected Remote Options hash (VER=V4): 'f7df56b8'
Mon Aug 14 14:57:01 2006 us=799882 RESOLVE: Cannot resolve host address: vpn.fortunesea.com.ph: [NO_DATA] The requested name is valid but does not have an IP address.
Mon Aug 14 14:57:06 2006 us=801475 RESOLVE: Cannot resolve host address: vpn.fortunesea.com.ph: [NO_DATA] The requested name is valid but does not have an IP address.


thanks, :cry:
Nef Kho  :-) .........