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

    NAT couters in pfSense

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 488 Views 2 Watching
    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.
    • KpuCkoK Offline
      KpuCko
      last edited by

      Hello guys,
      I'm very newbie in pfSense world, that's why I apologize for my question, but is there any way to show NAT counters?

      I'm coming from Cisco, MikroTik networking and I know that there is a easy way to check if traffic is flowing through NAT rule.

      So want I wanted to say, it will be very useful for me if I have the same counters in NAT table as I already have in firewall rules table.

      Sometimes when you do troubleshooting, the issue can be related to firewall rules, but sometimes can be in NAT rules.

      So if there is a way to show or check this counters, just let me know.
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        from shell:

        root@pfSense.lan]/root: pfctl -vvsn
        
        @8(0) nat on vmx1 inet from 10.123.0.0/24 to any -> 192.168.0.203 port 1024:65535
          [ Evaluations: 194138    Packets: 47019367  Bytes: 51593880791  States: 79    ]
          [ Inserted: pid 20145 State Creations: 31883 ]
        
        
        KpuCkoK 1 Reply Last reply Reply Quote 1
        • KpuCkoK Offline
          KpuCko @heper
          last edited by

          @heper said in NAT couters in pfSense:

          from shell:

          root@pfSense.lan]/root: pfctl -vvsn
          
          @8(0) nat on vmx1 inet from 10.123.0.0/24 to any -> 192.168.0.203 port 1024:65535
            [ Evaluations: 194138    Packets: 47019367  Bytes: 51593880791  States: 79    ]
            [ Inserted: pid 20145 State Creations: 31883 ]
          
          

          Thanks a lot @heper

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