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

    No internet after upgrading to 2.7.1-ce from 2.7.0-ce

    Scheduled Pinned Locked Moved General pfSense Questions
    35 Posts 6 Posters 4.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.
    • chris1284C
      chris1284 @SteveITS
      last edited by

      @SteveITS said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

      @chris1284 re: DHCP, see if it’s this: https://redmine.pfsense.org/issues/15011

      don't know, was an unacceptable situation so reinstall and config restore was a quick solution

      1 Reply Last reply Reply Quote 0
      • coldfire7C
        coldfire7 @stephenw10
        last edited by coldfire7

        @stephenw10 NAT rules are present for all the WAN and VPN interfaces.

        I checked this like 10 times and I'm 100% sure. If I disable the WAN 2 (DHK) interface while the WAN 2 NAT rules are present, NAT stops working for all interfaces. I either have to re-enable the WAN 2 interface or remove/disable the WAN 2 NAT rules to get it back working again.

        2023-11-22_02-16-33.png

        2023-11-22_02-18-46.png

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

          Hmm, hard to see how that could affect traffic on the DOT interface, which I assume is WAN1?

          With WAN2 connected and all the NAT rules enabled is working traffic still using WAN1?

          coldfire7C 1 Reply Last reply Reply Quote 0
          • coldfire7C
            coldfire7 @stephenw10
            last edited by

            @stephenw10 said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

            Hmm, hard to see how that could affect traffic on the DOT interface, which I assume is WAN1?

            Yeah, it doesn't make sense to me either. WAN1=DOT WAN2=DHK

            @stephenw10 said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

            With WAN2 connected and all the NAT rules enabled is working traffic still using WAN1?

            Yeah, as long as the interface is enabled, it doesn't have to be connected.

            Also, note both WANs are PPPoE.

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

              Ah, is it possible they share the same gateway address? The two PPPoE links I have hit that issue.

              coldfire7C 1 Reply Last reply Reply Quote 0
              • coldfire7C
                coldfire7 @stephenw10
                last edited by

                @stephenw10 Nope, totally different IP prefixes.

                I noticed something else. The NAT address changes from DHK addresses to opt1ip when I disable the WAN 2 (DHK) interface, this doesn't happen in CE 2.7.0 or older versions.

                2023-11-22_07-18-06.png

                2023-11-22_07-16-36.png

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @coldfire7
                  last edited by

                  @coldfire7 Well that sounds awfully suspicious. Does that part of the config file change when you make that change and redownload it?

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  coldfire7C 1 Reply Last reply Reply Quote 0
                  • A
                    avi68
                    last edited by

                    I've had the same experience as you. I posted in the wrong section but the issues are exactly the same.

                    https://forum.netgate.com/topic/184213/openvpn-client-and-device-routing

                    1 Reply Last reply Reply Quote 0
                    • coldfire7C
                      coldfire7 @SteveITS
                      last edited by coldfire7

                      @SteveITS

                      The only difference is <target></target> vs <target>opt1ip</target>. In CE 2.7.0 it's empty.

                      # 2.7.0
                      
                      <rule>
                      	<source>
                      		<network>lan_v4</network>
                      	</source>
                      	<sourceport></sourceport>
                      	<descr><![CDATA[LAN --&gt; DHK]]></descr>
                      	<target></target>
                      	<targetip></targetip>
                      	<targetip_subnet></targetip_subnet>
                      	<interface>opt1</interface>
                      	<poolopts></poolopts>
                      	<source_hash_key></source_hash_key>
                      	<ipprotocol>inet</ipprotocol>
                      	<destination>
                      		<any></any>
                      	</destination>
                      	<created>
                      		<time>1592833956</time>
                      		<username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                      	</created>
                      	<updated>
                      		<time>1676068535</time>
                      		<username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                      	</updated>
                      </rule>
                      
                      # 2.7.1 (DHK Interface Disabled)
                      
                      <rule>
                          <source>
                              <network>lan_v4</network>
                          </source>
                          <sourceport></sourceport>
                          <descr><![CDATA[LAN --&gt; DHK]]></descr>
                          <target>opt1ip</target>
                          <interface>opt1</interface>
                          <poolopts></poolopts>
                          <source_hash_key></source_hash_key>
                          <ipprotocol>inet</ipprotocol>
                          <destination>
                              <any></any>
                          </destination>
                          <created>
                              <time>1592833956</time>
                              <username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                          </created>
                          <updated>
                              <time>1676068535</time>
                              <username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                          </updated>
                          <target_subnet></target_subnet>
                      </rule>
                      
                      # 2.7.1 (DHK Interface Enabled)
                      
                      <rule>
                          <source>
                              <network>lan_v4</network>
                          </source>
                          <sourceport></sourceport>
                          <descr><![CDATA[LAN --&gt; DHK]]></descr>
                          <target>opt1ip</target>
                          <interface>opt1</interface>
                          <poolopts></poolopts>
                          <source_hash_key></source_hash_key>
                          <ipprotocol>inet</ipprotocol>
                          <destination>
                              <any></any>
                          </destination>
                          <created>
                              <time>1592833956</time>
                              <username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                          </created>
                          <updated>
                              <time>1676068535</time>
                              <username><![CDATA[admin@10.0.0.100 (Local Database)]]></username>
                          </updated>
                          <target_subnet></target_subnet>
                      </rule>
                      
                      S 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, interesting there was a change the system aliases available there.

                        How exactly are you disabling the interface?

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

                          Do you have any floating rules will all interfaces selected? Match rules for traffic shaping perhaps?

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

                            Struggling to replicate that here. If I disable a WAN interface then manual OBN rules on it become invalid and the ruleset shows:
                            # Missing interface 'opt1' for rule 'Test'

                            Automatic rules are simply not added for it.

                            OBN rules on the main WAN are still created and function as expected.

                            The OBN page does show opt1ip the same as you see but it doesn't impact anything.

                            I do also note the auto OBN rules do not show a translation address in the gui for some reason. But that also doesn't affect function.

                            1 Reply Last reply Reply Quote 0
                            • S
                              SteveITS Galactic Empire @coldfire7
                              last edited by

                              @coldfire7 said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

                              The only difference is <target></target> vs <target>opt1ip</target>. In CE 2.7.0 it's empty.

                              So it's <target></target> before you disable the interface? (I guess, I was asking for the difference between enabled/disabled, not 2.7.0 and 2.7.1)

                              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                              Upvote 👍 helpful posts!

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

                                It's <target>opt1ip</target> in 2.7.1 whether or not opt1 is enabled. The difference is that when opt1 is disabled opt1ip is not valid.

                                But in my test case the ruleset is still correctly generated. The only quirk is that the gui then shows the system alias. That probably shouldn't happen but it's only in the gui.

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

                                  Ok it appears to be the OBN rules running together: https://redmine.pfsense.org/issues/15024

                                  So here the rules for DHK are commented out when the DHK interface is disabled but ends up breaking the following rule which in each case is the DOT rule.

                                  You should be able to see that in the generated rules.debug file.

                                  1 Reply Last reply Reply Quote 1
                                  • coldfire7C
                                    coldfire7 @stephenw10
                                    last edited by

                                    @stephenw10 said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

                                    How exactly are you disabling the interface?

                                    aa648467-4f82-4b66-884e-3ff664ed64d5-image.png

                                    @stephenw10 said in No internet after upgrading to 2.7.1-ce from 2.7.0-ce:

                                    Do you have any floating rules will all interfaces selected? Match rules for traffic shaping perhaps?

                                    Yes, one for stopping outbound RFC1918. While I was troubleshooting yesterday I disabled that rule to see if that was causing the problem.

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

                                      It's that OBN rule bug as shown in the report above. Almost certainly.

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