Website now blocks VPNs: Split-tunnel traffic on a home-wide pfSense VPN
-
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:
-
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.
-
-
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!
-
-
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.
-
@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.130there 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.
-
@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.
-
@johnpoz , thanks a lot for the info.
-
@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.
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