OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • 2FA for specific ports
« previous next »
  • Print
Pages: [1]

Author Topic: 2FA for specific ports  (Read 2149 times)

dcol

  • Hero Member
  • *****
  • Posts: 557
  • Karma: 46
    • View Profile
2FA for specific ports
« on: October 15, 2021, 01:23:36 am »
I am running remote desktop software that I am now required to use 2FA. Is there a way to tunnel specific ports using 2FA via OpenVPN or other method? This is a new area for me, so be gentle. These ports are now NAT'ed to the specific IP's. I am told they now need 2FA. Is this even possible?
Thanks all.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: 2FA for specific ports
« Reply #1 on: October 15, 2021, 07:27:49 am »
You can run (virtually) as many OpenVPN servers as you like. Create firewall rules to allow RDP only for the tunnel(s) with 2FA.

Bart...
Logged

dcol

  • Hero Member
  • *****
  • Posts: 557
  • Karma: 46
    • View Profile
Re: 2FA for specific ports
« Reply #2 on: October 15, 2021, 07:44:03 pm »
Any tutorials to get me started.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: 2FA for specific ports
« Reply #3 on: October 15, 2021, 10:32:37 pm »
These should get you going:

https://docs.opnsense.org/manual/two_factor.html
https://kirkg.us/posts/building-an-openvpn-server-with-opnsense/
https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/
Logged

dcol

  • Hero Member
  • *****
  • Posts: 557
  • Karma: 46
    • View Profile
Re: 2FA for specific ports
« Reply #4 on: October 15, 2021, 11:04:59 pm »
Thanks
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • 2FA for specific ports
 

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