Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Block all external traffic except for LAN and Wireguard VPN?

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 665 Views 1 Watching
    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
      dkshaw
      last edited by

      I'm working to set up a situation in pfsense and HAProxy where I can access internal services with a FQDN ONLY when on my network. I have everything set up thus far and working well, but now I want to see if I can also view those internal services when I am on VPN (Wireguard) outside of my network.

      For my shared front end my ACL is looking for source IP's that are an alias of my internal network IP's (192.168.1.x). For Wireguard I have a different subnet (10.10.10.x). I thought that if I were to add the Wireguard IP's to the alias that it would work, but it doesn't. I'm guessing that HAProxy doesn't see a Wireguard peer (my phone) source IP as being the 10.10.10.x, but instead it is my Verizon public IP?

      Is there a way that I can identify Wireguard peers connected to the network somehow and allow that traffic to access the backends that I have? Interface assignment? MAC address?

      alt text

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy