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

OpenVPN user/pass on TomatoVPN

Discussion in 'Tomato Firmware' started by triphazard, Jun 11, 2011.

  1. triphazard

    triphazard Networkin' Nut Member


    I'm running TomatoVPN and want to set the VPN client side of it up to connect to a VPN service to which I've recently subscribed. I have the connection working on my Windows 7 machine using OpenVPN and the OpenVPN config files given by the service provider. What I want though is to get away from this one machine being connected and to have the router connect to cover the entire home network.

    Provided as part of the config are a .ovpn and corresponding .config file, and a ca.crt file.

    Upon connection through the OpenVPN desktop UI I am prompted for a username & password which I enter whenever I want to connect.

    What I want to know really is how I can get the config working on my TomatoVPN router. I'm assuming (maybe wrongly) that the contents of the config file can be copied to the "custom configuration" box but it's what I do with the crt file and username & password that is really confusing me.

    Is anyone able to offer any advice at all?

    Thanks in advance.
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    You should only paste things into the custom config section that don't correspond to any of the other check, text, or dropdown boxes. Anything that there is a configuration for in the GUI should be done in the GUI.

    The contents of the ca.crt file should be pasted into the Certificate Authority box.

    To have your client provide a user/pass combo, add
    echo 'username
    password' > /tmp/client1-userpass
    to your init script ("Administration->Scripts"), and
    auth-user-pass /tmp/client1-userpass
    to your custom config.

Share This Page