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

    Connection timeouts when using non-default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 206 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.
    • H
      horribol82
      last edited by

      So, first of all, here is my configuration:

      ISP1_GW -> Default
      ISP2_GW -> WiFi and Failover
      Bind DNS Server on pfsense
      Squid Proxy on pfsense (not transparent, not in use by wifi)

      My problem is when setting the gateway on WiFi to use ANY Gateway, I start seeing lots of timeouts when browsing websites.
      I've tried setting both ISP1 and ISP2 as default gateway and they both work fine. But if I set a manual gateway on a rule, then I have lots of timeouts. Even when using the same gateway that is used by default.

      My current problematic rule:
      0_1528893690992_b656bef6-f6d2-4f7d-839d-5917d83e0491-image.png

      Tests:
      I've set up a virtual machine with Ubuntu and used that for testing. When using a device on the WPUB network, loading sites can take forever because half of the connections timeout. I can even notice the timeouts by trying to telnet ports 80 and 443 of multiple websites, where it might instantly connect 2 o 3 times in a row before having to wait 15-30 seconds to connect.

      • DNS: I've tried using pfsense and external DNS servers. Never seemed to have any problem resolving names.
      • Different gateways: As I mentioned before, both connections work fine by themselves when set as default

      Does anyone know what might be wrong here? I've tried the same configuration in multiple settings and it works fine, the only major difference is this the only pfsense I have currently using Squid.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.