Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to set vpn client system connection using cli?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 777 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robfantini
      last edited by

      Hello
      We have a working Pfsense openvpn server,  with clients connecting many different ways.  So far client set up is done using a gui on client end.

      What I need to do is get a non gui  Debian system to work using cli only.  We are using version debian version: 2.3.2-7~bpo70+2

      I assume a Pfsense  'Standard Configuration Archive ' will be used.

      Could someone please point me to documentation or threads etc  on how to set  vpn client system connection ?

      best regards, Rob Fantini

      1 Reply Last reply Reply Quote 0
      • R
        robfantini
        last edited by

        OK I found this link: https://help.ubuntu.com/lts/serverguide/openvpn.html#openvpn-simple-client-configuration  which gave me the clues to set up.

        
        cd /etc/openvpn
        
        unzip  XX--udp-1194-bsdp-config.zip
        
        ln -s  XX-udp-1194-bsdp.ovpn client.conf
        
        service openvpn start
        
        

        It asks for a name and password , I'll figure out how to store that next.

        then check connection with:

        
        ifconfig tun0
        
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.