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

    Block access to openvpn from LAN

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 704 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.
    • M
      matu37
      last edited by

      Hi

      A simple problem, that i can't figure out. How to block openvpn connection from lan. OPENVPN server is set to run on wan interface, tried different blocking rules, but none of them worked. If clients come to lan network, vpn will be connected.

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        A simple block rule on LAN interface should do the job. Bear in mind that the destination IP has to be the WAN IP which the OpenVPN server is listening to.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          So you have your road warriors with some sort of auto connection, and then they come into the office and auto connect to your vpn on your wan IP?

          If that is the case, then sure simple block on your lan to your wan IP and vpn port(s) your listening on stops that.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

            Thank you, problem solved  :)

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