Block all external traffic except for LAN and Wireguard VPN?
-
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?

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 LoginPrivacy Policy · Cookie Policy