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

    [Multi-WAN] Routing of TCP-Reset packets (TCP packet with RST bit set)

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.1k 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.
    • P
      pfsenseddc
      last edited by

      Hi,
      I have a problem, maybe it is because my pfSense configuration issue. But after two days of digging I suspect that it can be a FreeBSD feature/bug.

      In a nutshell - I have two WAN gateways: WAN1 and WAN2, where WAN1 is set as a default one. I have a pf rule on WAN2 were action is set to 'reject' external packets reaching TCP port '21' (it is important that it isn't a 'block' rule action) .
      A 'Reject' action should reply with TCP RST (TCP-Reset) packet and it take place but that packet is routed via WAN1 instead of WAN2, as it is to be expected.
      Do you have any ideas how to force TCP RST reply via WAN2?

      A configuration option at 'System:Advanced:Firewall/NAT->Disable reply-to' is not checked.

      Thanks and regards,

      –
      John

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