OpenVPN GUI client settings issue

Discussion in 'Tomato Firmware' started by gn3t00r, Jul 26, 2009.

  1. gn3t00r

    gn3t00r Addicted to LI Member

    [Resolved]: OpenVPN GUI client settings issue

    I am using TomatoVPN 1.25 on WRT54g version 4 hardware. I think this iteration is really good, but I ran into two small issues.

    Issue One:
    I was able to successfully setup VPN client to a remote site. The issue comes when I try to replace the client certificate and client key with newer ones in the GUI. It keeps giving me "Invalid address" error when I hit save button. When I refresh the screen, I still have the current client certificate and key. So I end up not able to replace my client certificate and key. Has anyone experience the same issue? I think I may be able to get around this using the command line option in terminal to replace client certificate and key. Can someone please show me how?

    Issue Two:
    I also setup the VPN server, but it refuse to start up. I did the same on a different hardware, Buffalo WHR-HP-G54, and it works fine. So may be this is Linksys WRT54G/GS/GL specific. Any enlightenment on how to troubleshoot on this is greatly appreciated.

    Thanks in advance.
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Somehow, one of the settings must have gotten changed since you last saved the form. Check all of the fields that accept an IP address (you will have to temporarily change between TAP/TUN and TLS/Static-Key modes to get all of them to show up). I don't think "Invalid address" is a valid error message. If you could provide the exact error message, we might be able to narrow it down more.

    There's nothing that should be router-model-specific. If you look in the router logs after attempting to start it up, it should offer a hint as to what is wrong.

    Taking these two things into account, I have to ask: Did you erase NVRAM after upgrading your firmware? Many strange, hard to diagnose problems can arise from not doing so.
  3. gn3t00r

    gn3t00r Addicted to LI Member


    Thanks for the pointer. Issue 2 is resolved. Somehow in my Administration->Admin Access, I have a blank for telnet port section. It causes problem when I save. commit seg fault according to the log.

    I am still trying to locate which parameter in the entire management interface for "Invalid IP address" error. I think once I found it, issue 1 will be resolved. By the way, do you know which page has this "Invalid IP Address" javascript error popup? I think knowing this will help me quickly narrow it down to resolve issue 1. Thank you so much for your help. And thanks in advance for the pointing out where I can found "Invalid IP Address".
  4. fyellin

    fyellin LI Guru Member

    I was able to reproduce this bug by going to TUN/Static Key, entering a bad address, and then going to another mode so that I couldn't see the bad address anymore.

    The mystery, of course, is how these settings got saved in nvram in the first place.
  5. gn3t00r

    gn3t00r Addicted to LI Member

    [Resolved]: OpenVPN GUI client settings issue


    Thank you so much. Issue 1 is resolved for me. Now I am able to save without "Invalid IP address" error. Somehow I got a blank for the local IP in the Static Key form.

    Thank you....
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice