OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Restrict access To web server
« previous next »
  • Print
Pages: [1]

Author Topic: Restrict access To web server  (Read 2491 times)

dpbklyn

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
    • View Profile
Restrict access To web server
« on: May 02, 2017, 10:04:22 pm »
Hello and thank you in advance...

I am not sure what to search for so please excuse me if this has been covered.

I have a webserver to which I would like only one or two people to have access from outside the network.  Is it possible to restrict access to particular ports by Mac address or some other metric?

Although this server IS password protected, I am not crazy about having it hanging out there for the world to hack at.

Thank you,

dp
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Restrict access To web server
« Reply #1 on: May 03, 2017, 06:52:41 am »
Quote from: dpbklyn on May 02, 2017, 10:04:22 pm
I have a webserver to which I would like only one or two people to have access from outside the network.  Is it possible to restrict access to particular ports by Mac address or some other metric?

The MAC address your appliance ALWAYS will see ist the one of your provider router or of the next hop (the provider itself)
Why not give them access over IPsec/OpenVPN to exactly this host?
Logged

dpbklyn

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
    • View Profile
Re: Restrict access To web server
« Reply #2 on: May 03, 2017, 05:01:58 pm »
Yes.  That was my next solution.

Thank you!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Restrict access To web server
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2