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

    Website now blocks VPNs: Split-tunnel traffic on a home-wide pfSense VPN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 4 Posters 302 Views 4 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.
    • S
      sky.dog.ch
      last edited by

      Hi everyone,

      I am having a critical issue accessing my SaxoBank account from my desktop computer, and I wanted to check if anyone else running a home-wide VPN setup on pfSense has found a clean solution for this.

      The Setup & Problem:

      • Network: My entire home network is routed through a VPN configured directly at the router level on pfSense for privacy and security.

      • Issue: When trying to access the Website from my PC, I get the new restriction error:

        "For security reasons, logins from VPNs and proxy services are not allowed. Please disable any VPN or proxy and log in again."

      What I have tried so far in pfSense:

      1. Policy-Based Routing (PBR) with FQDN Aliases:

        • Created a Host Alias containing Saxo domains (saxotrader.com, platform.saxo, live.platform.saxo, auth.saxo, etc.).

        • Created a Firewall rule on top of the LAN list to route matching traffic directly through the ISP gateway (WANGW) instead of the VPN interface.

        • Result: The rule bytes counter remains stuck at 0/0 B, and the webpage hangs indefinitely. Because Saxo relies on dynamic CDNs (Cloudflare / Akamai), the IP resolutions change constantly, causing web traffic to bypass the alias and get pushed back into the default VPN tunnel.

      2. ASN Routing (pfBlockerNG):

        • Configured an ASN Alias for Saxo Bank's registered autonomous system (AS20681).

        • Result: Still fails or hangs because authentication and real-time data streaming rely on third-party CDN endpoints not owned directly by Saxo's ASN.

      Question:

      Since routing the entire PC through the WAN gateway fixes the issue, has anyone managed to configure a reliable split-tunneling setup in pfSense specifically for Saxo Bank without having to exclude the whole computer from the home-wide VPN?

      Any help or suggested domain/IP lists would be greatly appreciated!

      luckman212L johnpozJ 2 Replies Last reply
      Reply Quote 0
      • luckman212L
        luckman212 LAYER 8 Rebel Alliance @sky.dog.ch
        last edited by luckman212

        Trying to whack-a-mole with an unpredictable set of CDN IPs is never going to work well.

        Not a lot of options here. If it were me I'd probably just spin up a VM for Saxobank stuff with a static IP that has a rule to bypass the VPN gateway. If you don't want to use a whole VM, maybe set up a proxy + Firefox with a custom profile that specifies that proxy server, and then you can exclude just that proxied traffic.

        S Bob.DigB 2 Replies Last reply
        Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @sky.dog.ch
          last edited by

          @sky.dog.ch said in Website now blocks VPNs: Split-tunnel traffic on a home-wide pfSense VPN:

          The rule bytes counter remains stuck at 0/0 B

          Tells me something wrong with your PBR then - even if the ip changed constantly - you client when asked dns on pfsense would try to go there, and pfsense rule count. Could you have issues sure, client asking a different dns than pfsense used to look it up.

          ;; QUESTION SECTION:
          ;www.home.saxo.                 IN      A
          
          ;; ANSWER SECTION:
          www.home.saxo.          14186   IN      CNAME   www.home.saxo.edgekey.net.
          www.home.saxo.edgekey.net. 13426 IN     CNAME   e10336.dscx.akamaiedge.net.
          e10336.dscx.akamaiedge.net. 20  IN      A       23.10.219.130
          

          there is a 20 second ttl for the bank website. but it hasn't changed once after multiple queries - that 20 second ttl is coming from the soa for dscx.akamaiedge.net

          You would get some hits on the rule. Pfsense only updates the aliases every 5 minutes. So sure you could have problems.. But you should be seeing some hits on your pbr rule. Unless your browser is not using pfsense for dns and you are getting completely different answers.

          Also you could manipulate that ttl via unbound to be say 3600 seconds vs 20.

          Even if some of didn't work - there should be some hits on your rule.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 26.07 | Lab VMs 2.9.0, 26.07

          S 1 Reply Last reply
          Reply Quote 0
          • S
            sky.dog.ch @luckman212
            last edited by

            @luckman212 , thanks a lot for your reply. I'm going to test the proxied traffic, though it seems that the VM option is the easiest one.

            1 Reply Last reply
            Reply Quote 0
            • S
              sky.dog.ch @johnpoz
              last edited by

              @johnpoz , thanks a lot for the info.

              1 Reply Last reply
              Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @luckman212
                last edited by

                @luckman212 said in Website now blocks VPNs: Split-tunnel traffic on a home-wide pfSense VPN:

                maybe set up a proxy + Firefox with a custom profile that specifies that proxy server

                That is how I am doing it, with Firefox Multi-Account Containers. It is work though to set this all up.

                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