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

Skip rules when gateway is down - doesn't work, WUT?

Scheduled Pinned Locked Moved Firewalling
3 Posts 2 Posters 701 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.
  • M
    Mr. Jingles
    last edited by Feb 3, 2015, 6:57 AM Feb 2, 2015, 7:51 AM

    G'day all  ;D

    pfSense 2.1.5

    Top of the LAN rules:

    
    [src] LAN-net [dest] VPN1-Alias [gateway] VPN1-gateway
    [src] LAN-net [dest] VPN2-Alias [gateway] VPN2-gateway
    
    

    And set in System/advanced:

    Skip rules when gateway is down

    The rule for VPN1 works, however, for VPN2 it does not. It did work, and there is only one difference:

    The account has expired. So there is no 10.x.x.x IP issued to me from that provider (VPN log: AUTH failed. Dashboard: no IP for that VPN). The gateway shows 'pending', not 'down' in the dashboard.

    So, instead of blocking traffic out via VPN2 it happily sends it over the default gateway.

    Ergo: when the account is expired SkipRulesWhenGateWayIsDown is ignored?

    "This is not a bug, it's a feature"?

    ( ;D )

    Bug?

    Thank you in advance for any help  :P

    Bye,

    6 and a half billion people know that they are stupid, agressive, lower life forms.

    1 Reply Last reply Reply Quote 0
    • M
      Mr. Jingles
      last edited by Feb 6, 2015, 5:41 PM

      I take it I should have read the manual, apparently somewhere in there will be a line saying it is a feature  ;D ;D

      6 and a half billion people know that they are stupid, agressive, lower life forms.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Feb 12, 2015, 3:19 PM

        The rule is literally skipped (omitted) when it's down – If you have a pass rule under that using a default gateway then it will go that way.

        The behavior without the box checked is to simply act as if the gateway doesn't have a rule.
        With the box checked, the rule is not put into the ruleset if the gateway is down.

        So if you really don't want them to go out some other way, then you could do

        PASS [src] LAN-net [dest] VPN2-Alias [gateway] VPN2-gateway
        BLOCK [src] LAN-net [dest] VPN2-Alias

        Then when the skip happens it will hit the block and not a later pass rule.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received