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

    Block access to one server and port from "Site A" to "Site B"

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 2.2k 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.
    • D
      dubba
      last edited by

      I have a site to site VPN working very fine. I would like to block access to a server on "Site B" to all users on "Site A" on port 8080. What rule should I add?

      I have LAN/WAN/WAN2 (multi WAN) setup with VPN on WAN.

      Thanks,
      DK

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        You cannot firewall the OpenVPN interface.

        But if you're using pfSense on both sides of the VPN tunnel you can define on the client side firewall-rules to disallow traffic with a destionation of the other side of the tunnel.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • D
          dubba
          last edited by

          Thanks for the reply. But, the other site does not use PFSense yet and even then I will not be able to block ports on one particular server I guess, it has to be to the entire network.

          Thanks again,
          DK.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            How would you connect to the pfSense?
            Does each client install OpenVPN or do you have another firewall solution?

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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