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

    openvpn -- rete aggiuntiva sulla pfsense

    Italiano
    2
    3
    417
    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.
    • C
      claudiove
      last edited by

      buongiorno al gruppo. la mia pfsense eroga la rete interna 192.168.0.X , e con openvpn accedo senza alcun intoppo alla rete interna, parlo di openvpn host --> to --> site . tutto ok.
      aggiungero' la rete 172.20.1.X . Vorrei che un solo utente di openvpn (io) possa accedere a questa rete, a partire dal mio portatile.
      quando cliente_1 oppure cliente_2 usano openvpn devono poter accedere solo alla rete 192.168.0.X , mentre l'utente "boss" , che sono io, dovrei accedere a 192.168.0.X ed anche a 172.20.1.X .
      mi date un input su come procedere ?
      un ringraziamento

      kiokomanK 1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8 @claudiove
        last edited by kiokoman

        @claudiove

        Imposta al tuo utente VPN un IP STATICO

        Openvpn -> client specific overrides

        Descrizione: Quellochevuoi
        Common Name: il tuo nome utente che usi per la vpn
        Lascia tutto il resto in bianco fino in fondo dove trovi Advanced
        inserisci in quel campo:

        ifconfig-push 10.0.8.50 255.255.255.0

        ovviamente sostituisci l'ip con qualcosa che hai impostato per il tuo tunnel se non è la stessa rete

        una volta fatto questo ti basta creare una regola del firewall che permetta solo al tuo ip statico di andare nell'altra rete blocando gli altri

        OPPURE

        fai una vpn dedicata solo a te in cui puoi accedere a quello che vuoi
        1194 vpn utenti normali
        1195 vpn per te

        2 tunnel diversi quindi regoletta firewall che permette solo al tuo tunnel di andare dove vuoi

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • C
          claudiove
          last edited by

          tutto chiaro.
          1 ringraziamento, anche se in ritardo
          :-)

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