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

    limit a client to a specific ip on server lan

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 373 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.
    • A
      ariban99
      last edited by

      Hi
      i have an openvpn server peer to peer shared key. i created a remote client using a second pfsense box and it works great.
      i however want to limit this remote client to only be able ot access one item on my server network.

      server ip 192.168.1.0/24
      the one item i want to allow them to connect to is on 192.168.1.40
      the remote client is on 192.168.4.0/24

      how do i do this?

      thank you in advance
      Ben

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        The remote Client is using OpenVPN Remote Access SSL/TLS to connect?
        You need to create a Client Specific Override for this Client to have his IP static inside the OpenVPN tunnel network.
        Then create a Firewall Rule with the static IP as source and target 192.168.1.40

        -Rico

        1 Reply Last reply Reply Quote 0
        • A
          ariban99
          last edited by

          yes using the same pfsense as a client peer to peer shared key with tls
          you told me what needs to be created but i am lost, is there a tutorial on how to do what you mentioned?
          thank you

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