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

VPN customer towards a host only ?

Scheduled Pinned Locked Moved OpenVPN
3 Posts 3 Posters 1.7k 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.
  • J
    jerem87
    last edited by May 12, 2009, 8:32 PM

    Good evening,

    I am sorry for the translation in English, I am French.

    Is it possible to indicate to PfSense a host rather than a distant address of network? Would I wish that the VPN customer simply allow to reach to a distant host and not a whole distant network?

    Thank you very much.

    Jérémie.

    1 Reply Last reply Reply Quote 0
    • C
      Cry Havok
      last edited by May 12, 2009, 10:22 PM

      Not in 1.2.  I believe that firewalling on OpenVPN doesn't come in until 2.0, which is still in Alpha.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by May 12, 2009, 11:56 PM

        There is some support for filtering OpenVPN in 1.2.3, but it's not very elegant.

        You can add an OpenVPN tunnel, bring it up, then assign the resulting tunx (likely tun0) interface as an opt interface. You can then enable that opt interface, name it OpenVPN, give it a (bogus?) ip address, and you'll get a tab on the firewall rules where you can control access.

        What I'm not so sure of is how reliable this is. In my testing, after making changes in OpenVPN which made tun0 leave and come back, I had to edit/save the rules again for things to work as expected. I may have misconfigured something along the way though.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received