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

NAT timeout values?

Scheduled Pinned Locked Moved NAT
3 Posts 2 Posters 6.4k 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.
  • A
    AndrewZ
    last edited by Jun 3, 2010, 6:03 PM

    Hello

    A few questions from a newbie…

    Is it possible to see the actual states with the timeouts for UDP in the NAT table?
    On my old router I used to check the content of /proc/net/ip_conntrack  for that kind of information. This old router has UDP NAT timeout preset to 180 sec.

    As I understood, changing the "Firewall Optimization Options" from "normal" to "conservative" will affect those NAT timeouts. What are the actual numbers for them with the both settings?

    Thanks!

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jun 4, 2010, 2:22 PM

      You can check them like so, from the shell:

      # pfctl -st
      tcp.first                   120s
      tcp.opening                  30s
      tcp.established           86400s
      tcp.closing                 900s
      tcp.finwait                  45s
      tcp.closed                   90s
      tcp.tsdiff                   30s
      udp.first                    60s
      udp.single                   30s
      udp.multiple                 60s
      icmp.first                   20s
      icmp.error                   10s
      other.first                  60s
      other.single                 30s
      other.multiple               60s
      frag                         30s
      interval                     10s
      adaptive.start             6000 states
      adaptive.end              12000 states
      src.track                     0s
      

      Conservative sets the following:

      set timeout { udp.first 300, udp.single 150, udp.multiple 900 }
      

      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
      • A
        AndrewZ
        last edited by Jun 4, 2010, 8:08 PM

        OK, thanks jimp.  Will stay with conservative.

        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