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

    Nat 1:1 da virtualip openvpn

    Italiano
    2
    3
    320
    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.
    • V
      vacant309
      last edited by

      Ciao a tutti, ho un problema con il nat 1: 1

      Wan ip: 90.80.90.100
      IP LAN: 172.16.25.10
      Openvpn virtualp subent 10.0.30.0/24

      Quindi dovrei trasformare l'ip che entra con openvpn (Esempio 10.20.30.2) in IP della sottorete LAN (esempio 172.16.25.2) quindi fare un NAT 1: 1

      Grazie

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

        salve,
        che indirizzi ip interni hai dall'altra parte? che tipo di vpn ? immagino openvpn remote access ?
        prova a vedere se questo può aiutarti
        https://docs.netgate.com/pfsense/en/latest/book/openvpn/nat-with-openvpn-connections.html

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        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
        • V
          vacant309
          last edited by

          innanzi tutto grazie per la risposta , allora ho creato un server openvpn che rilascia una virtual subnet 10.0.30.0/24 , il client ingressa normalmente è gli viene rilasciato il primo ip libero quindi 10.0.30.2 , ma questo IP mi servirebbe nettarlo con un ip 10.87.66.0/24 che risiede sulla interfaccia di pfsense con ip 10.87.66.12/24 .... la guida in allegato l ho provata ma non funziona ... il client si presenta fuori sempre con 10.0.30.2 ....

          grazie

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