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

    Update to 2.5.2 from 2.4.5-p1 - no traffic from LAN to WAN anymore

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 3 Posters 1.6k Views 3 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.
    • T Offline
      tohil @stephenw10
      last edited by tohil

      @stephenw10

      Hi Steve

      I've setup an virtual pfsense and imported the config. After running some tests i found the issue....
      -> NAT/Outgoing -> I have set Hybrid outbound NAT with some additional manuel rules... but there are not automatic rules...

      Even if I change to "automatic outbound nat" setting. When i create a manual NAT Rule for internal network, I can ping again from this particular subnet.

      System/Advanced/Firewall & NAT
      NAT Reflection mode for port forwards: disabled
      Enable NAT Reflection for 1:1 NAT: disabled
      Enable automatic outbound NAT for Reflection: disabled

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Automatic rules are on interfaces that gateways defined (WANs) from internal subnets on interfaces that don't have gateways defined (LANs).
        If you're not seeing any rules created it pretty much has to be because your WAN interface does not have a gateway set on it.
        That has not changed since 2.4.5 though.

        Steve

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tohil @stephenw10
          last edited by

          @stephenw10 wan is DHCP with Gateway... internal interface have no Gateway.

          Settings are working on 2.4.5, but not on 2.5.2 without changes.

          I can share you more details via DM or Remote Session...

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            tohil @tohil
            last edited by tohil

            @stephenw10

            I've drilled it down a littlebit more... missing automatic outbound NAT rules is caused by enabling "Configuration Override" on DHCP WAN Interface... I need the following option dhclient option 60 for my VDSL ISP:

            interface "{interface}" {
              send dhcp-class-identifier "100008,0001,,pfsense 2.4";
            }
            

            Is there an other way to set this values in GUI directly? maybe you can reproduce this on your lab?
            this option is not uncommon here in switzerland for users, which are not using the providers standard router....

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Ah, that's interesting. And that behaviour changed between 2.4.5 and 2.5? You had that custom option there in 2.4.5p1 and auto outbound NAT rules were created?

              Nice catch! That could have taken an age to find.

              You should be able to set that in the 'Send Options' that are made available when you check 'Advanced Configuration'. Without having to use configuration override entirely.

              Steve

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Yeah, if you set it there you get, for example:

                interface "vtnet0" {
                
                	supersede interface-mtu 0;
                # DHCP Protocol Timing Values
                
                # DHCP Protocol Options
                	send dhcp-class-identifier "100008,0001,,pfsense 2.4";
                
                	script "/usr/local/sbin/pfSense-dhclient-script";
                }
                

                But automatic outbound NAT rules are still created.

                Steve

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  tohil @stephenw10
                  last edited by

                  @stephenw10 Hi Steve,

                  yes this setting worked since years until now :-)

                  Can you tell me where the mentioned interface config file is located at?
                  I will compare the file if I add the addition options by config file and by gui setting.

                  can you tel me at which gui field this option 60 has to be added?

                  • Send options
                  • Request options (Option 55)
                  • Require options
                  • Option Modifiers

                  thanks for your reply, I will test it as soon as possible.

                  regards Angelo

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    It's set in 'Send Options'.
                    The file is /var/etc/dhclient_wan.conf, assuming it's your WAN interface.

                    Steve

                    T 1 Reply Last reply Reply Quote 1
                    • T Offline
                      tohil @stephenw10
                      last edited by

                      @stephenw10
                      Seems to working...not tested on prod system yet

                      but adding

                      dhcp-class-identifier "100008,0001,,pfsense 2.4"
                      

                      to send options genereates the following config file, which matches my old config method. And Outbound NAT Rules are created!

                      interface "em0" {
                      
                              supersede interface-mtu 0;
                      # DHCP Protocol Timing Values
                      
                      # DHCP Protocol Options
                              send dhcp-class-identifier "100008,0001,,pfsense 2.4";
                      
                              script "/usr/local/sbin/pfSense-dhclient-script";
                      }
                      

                      I'm going to test this on prod asap! thanks Steve!

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tohil @tohil
                        last edited by

                        @stephenw10

                        Changed WAN Interface Config on 2.4.5-p1, created a backup and performed a fresh installation with 2.5.2.

                        working now :-)

                        thanks for your support

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          tohil @tohil
                          last edited by

                          I'm using RAM drives, /var is showing up multiple times on dashboard System Status. Is this known?

                          noplanN stephenw10S 2 Replies Last reply Reply Quote 0
                          • noplanN Offline
                            noplan @tohil
                            last edited by

                            @tohil

                            ram drive has something to do with no traffic from LAN 2 WAN after update ?
                            brNP

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              tohil @noplan
                              last edited by

                              @noplan No... just mentioned it... its off-topic... if you are mod, you can delete :-)
                              issue was just the dhcp settings on WAN.

                              noplanN 1 Reply Last reply Reply Quote 0
                              • noplanN Offline
                                noplan @tohil
                                last edited by

                                @tohil

                                no no mod just wondering .. .. still got here some 2.4.5xxx poxes to do
                                even a p1 version yesterday, but was not able to run in the same problem like you ... ;)

                                brNP

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S Offline
                                  stephenw10 Netgate Administrator @tohil
                                  last edited by stephenw10

                                  In 2.5.2? Are you using ZFS?

                                  That seems familiar though I'm not hitting it here... 🤔

                                  Edit: Yup, this: https://redmine.pfsense.org/issues/12144

                                  It's ugly but just cosmetic.

                                  Steve

                                  T 1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tohil @stephenw10
                                    last edited by

                                    @stephenw10

                                    Yes, ZFS after reinstalled 2.5.2. Bug seems to be known and would be fixed someday... as you said, its just cosmetic :-)

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