Page 1 of 2 12 LastLast
Results 1 to 10 of 13

OpenVPN connection error


This discussion is about "OpenVPN connection error" in the "Networking & Internet" forums.
Hi, Kinsa to mga maayo sa openvpn, hinaut makatabang mo. Am trying to set-up a server-client connection using OpenVPN. Am using DD-WRT router to be ...

  1. #1
    C.I.A. junmar4's Avatar
    Join Date
    Jun 2005
    Gender
    Male
    Posts
    9,034

    Default OpenVPN connection error


    Hi,

    Kinsa to mga maayo sa openvpn, hinaut makatabang mo.

    Am trying to set-up a server-client connection using OpenVPN. Am using DD-WRT router to be the server and a laptop as a client. Maybe makatabng mo unsay sayop sa config file, either sa server or sa client.

    Mao ni and log when I tried connection:
    Mon Apr 05 14:53:01 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
    Mon Apr 05 14:53:01 2010 LZO compression initialized
    Mon Apr 05 14:53:01 2010 UDPv4 link local: [undef]
    Mon Apr 05 14:53:01 2010 UDPv4 link remote: xxx.xxx.xxx.xxx:1194
    Mon Apr 05 14:54:01 2010 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Mon Apr 05 14:54:01 2010 TLS Error: TLS handshake failed
    Mon Apr 05 14:54:01 2010 SIGUSR1[soft,tls-error] received, process restarting


    Mao ni akong client config file:

    client

    dev tap

    #dev-node MyTAP #If you renamed your TAP interface or have more than one TAP interface then remove the # at the beginning and change "MyTAP" to its name

    proto udp

    remote xxx.dyndns.org 1194 #You will need to enter you dyndns account or static IP address here. The number following it is the port you set in the server's config

    route 10.10.1.1 255.255.255.0 vpn_gateway 3 #This it the IP address scheme and subnet of your normal network your server is on. Your router would usually be 192.168.1.1

    resolv-retry infinite

    nobind

    persist-key

    persist-tun

    ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"

    cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client.

    key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.key" # This file should be kept secret

    ns-cert-type server

    cipher BF-CBC # Blowfish (default) encrytion

    comp-lzo

    verb 1

    Mao sad ni ang server config file:

    push "route 10.10.1.0 255.255.255.0"
    server 10.10.10.0 255.255.255.0

    dev tun0
    proto udp
    keepalive 10 120
    dh /tmp/openvpn/dh.pem
    ca /tmp/openvpn/ca.crt
    cert /tmp/openvpn/cert.pem
    key /tmp/openvpn/key.pem

    # Only use crl-verify if you are using the revoke list - otherwise leave it commented out
    # crl-verify /tmp/openvpn/ca.crl

    # management parameter allows DD-WRT's OpenVPN Status web page to access the server's management port
    # port must be 5001 for scripts embedded in firmware to work
    management localhost 5001


    Salamat daan sa makatabang.

  2. #2
    C.I.A. junmar4's Avatar
    Join Date
    Jun 2005
    Gender
    Male
    Posts
    9,034
    still in need of help...

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Gender
    Female
    Posts
    55
    account deleted

  4. #4
    Junior Member
    Join Date
    Sep 2006
    Gender
    Female
    Posts
    55
    account deleted

  5. #5
    C.I.A. junmar4's Avatar
    Join Date
    Jun 2005
    Gender
    Male
    Posts
    9,034
    Quote Originally Posted by aenmelendez View Post
    Bro, nag try ka gamit lain mga VPN softwares aside sa OpenVPN?
    I tried VPN-X before.

    Also, karon kabuang na akong Windows RDP, dili na kaconnect using dd-wrt.

  6. #6
    Senior Member
    Join Date
    May 2008
    Posts
    552
    check noh sa ports nimo sa router. or para dali turnoff sa ang firewall kung pwede.

  7. #7
    C.I.A. junmar4's Avatar
    Join Date
    Jun 2005
    Gender
    Male
    Posts
    9,034
    Quote Originally Posted by mazkot View Post
    check noh sa ports nimo sa router. or para dali turnoff sa ang firewall kung pwede.
    huh? wa ko kasabot.

    but if you are trying to say nga icheck ang ports, unsa man nga ports akong iopen sa router when openvpn server is in the router man
    Last edited by junmar4; 04-07-2010 at 07:34 PM.

  8. #8
    Senior Member
    Join Date
    May 2008
    Posts
    552
    check lng ni mao mini ako hisunod sa linksys namo sang una pero nag buhat ko ug lain server para mu handle sa openvns k kapoyan ko ug maintain sa linksys.

    OpenVPN - DD-WRT Wiki

    OpenVPN server and client on DD-WRT - Geek Pages -- Information on how to do geeky things...

  9. #9
    Junior Member
    Join Date
    Dec 2005
    Gender
    Male
    Posts
    131
    Naa sad mi dre setup openvpn I think mga 5 servers nmo na setup. I don't know relevant ba sad ni regarding sa imo config file.

    ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"

    Sa amoa dre wala nmi nag specify sa program location sa certificates we just did it like this:

    ca ca.crt

    As long as naa sa config directory ang imo mga certificates and keys not in easy-rsa na directory

    Just my cent....

  10. #10
    C.I.A. junmar4's Avatar
    Join Date
    Jun 2005
    Gender
    Male
    Posts
    9,034
    Quote Originally Posted by kryptos View Post
    Naa sad mi dre setup openvpn I think mga 5 servers nmo na setup. I don't know relevant ba sad ni regarding sa imo config file.

    ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"

    Sa amoa dre wala nmi nag specify sa program location sa certificates we just did it like this:

    ca ca.crt

    As long as naa sa config directory ang imo mga certificates and keys not in easy-rsa na directory

    Just my cent....

    tied it that way but the same error.

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Windows XP "Limited or no connectivity" error
    By leizl6 in forum Computer Hardware
    Replies: 17
    Last Post: 04-23-2012, 09:26 AM
  2. For Hire: Psp Problem with ad-hoc? connection error has occurred(80440702)
    By fatima0588 in forum Gadgets & Accessories
    Replies: 1
    Last Post: 10-21-2010, 08:52 AM
  3. Usb connection error
    By virst in forum Software & Games (Old)
    Replies: 6
    Last Post: 06-02-2009, 11:34 AM
  4. SQL Server 2k5 Remote connection error Part 2
    By hybrid_X in forum Programming
    Replies: 0
    Last Post: 06-02-2007, 05:09 PM
  5. SQL Server 2k5 Remote connection error
    By hybrid_X in forum Programming
    Replies: 1
    Last Post: 06-01-2007, 09:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top