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

    Importazione configurazione openvpn tramite file .ovpn

    Scheduled Pinned Locked Moved Italiano
    6 Posts 3 Posters 3.3k 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
      rougeone
      last edited by

      Ciao Ragazzi qualcuno sa se è possibile importare la configurazione di openvpn in modalità client di tramite il file .ovpn oppure dove posizionare il file collegandosi in ssh grazie

      1 Reply Last reply Reply Quote 0
      • fabio.viganoF
        fabio.vigano
        last edited by

        Non ho mai provato ad importarla copiando il file ma i file di configurazione delle vpn OpenVPN client li trovi in /var/etc/openvpn ed hanno estensione .conf
        Sono un po'diversi dai classici file .ovpn
        Ti riporto un esempio

        dev ovpnc2
        dev-type tun
        dev-node /dev/tun2
        writepid /var/run/openvpn_client2.pid
        #user nobody
        #group nobody
        script-security 3
        daemon
        keepalive 10 60
        ping-timer-rem
        persist-tun
        persist-key
        proto tcp-client
        cipher AES-128-CBC
        up /usr/local/sbin/ovpn-linkup
        down /usr/local/sbin/ovpn-linkdown
        local 192.168.111.128
        lport 0
        management /var/etc/openvpn/client2.sock unix
        remote xxx.xxx.xxx.xxx 1194
        ifconfig 192.168.27.2 192.168.27.1
        route 192.168.0.0 255.255.255.0
        secret /var/etc/openvpn/client2.secret

        Ciao Fabio

        ===============================
        pfSenseItaly.com
        La risorsa italiana per pfSense

        Se il post o la risposta ti sono stati utili clicca su 👍

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

          grazie mille fabio… ero andato a vedere sul tuo sito ma nulla  ;) mi tocca fare un cross ceck del file

          1 Reply Last reply Reply Quote 0
          • M
            mangano
            last edited by

            In pf esiste un pacchetto fatto apposta che si chiama:
            OpenVPN Client Export Utility
            semplicissimo e comodissimo esporta per linux macos windows con o senza certificati e puoi impostare l'ip o l'FQDN del server openvpn

            1 Reply Last reply Reply Quote 0
            • fabio.viganoF
              fabio.vigano
              last edited by

              ciao, il problema e' l'import non l'export :)

              ===============================
              pfSenseItaly.com
              La risorsa italiana per pfSense

              Se il post o la risposta ti sono stati utili clicca su 👍

              1 Reply Last reply Reply Quote 0
              • M
                mangano
                last edited by

                ho capito (o letto)male…
                in questo caso ssh.

                C

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