1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenVPN -- Connectiion Reset by Peer -- HELP!!!

Discussion in 'DD-WRT Firmware' started by Cyberian75, Apr 9, 2007.

  1. Cyberian75

    Cyberian75 Network Guru Member

    Hi guys,

    My OpenVPN server is on a WRT54GL (DD-WRT) and runs with no errors. The client, however, cannot connect and logs the following error repeatedly:
    P_CONTROL_HARD_RESET_CLIENT_V2...

    I think it's a firewall issue.

    I've added "/usr/sbin/iptables -I INPUT -p tcp --dport 1194 -j ACCEPT" to rc_firewall, and I see it in the IP table, but it's still throwing that error.

    For my configs, see www.dd-wrt.com/phpBB2/viewtopic.php?t=13702

    What could it be???

    Thanks.
     
  2. Bill_MI

    Bill_MI Network Guru Member

    From an OpenVPN on OpenWrt user (not DD-WRT) a quick look makes me think your certs and keys may need explicit paths as well as the rc_startup openvpn line to find your config file. Nothng in the log? That could be authentication problems - doesn't look like firewall.

    I recently learned about the rc_startup trick helping someone get OpenVPN running on DD-WRT in the grc groups. There was a big disconnect trying to get quote characters in the rc_startup variable but I don't see that in your case.
     
  3. Cyberian75

    Cyberian75 Network Guru Member

    The connection problem was caused by a missing "0" at the end of "tls-auth ta.key". Now the problem is that I can't use the "redirect-gateway" directive; if I do, no traffic gets through, though the client connects just fine and can even ping each other.

    Any ideas?
     
  4. Bill_MI

    Bill_MI Network Guru Member

Share This Page