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

can't update pfsense or install packages

General pfSense Questions
9
148
27.1k
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
    mrrobot @stephenw10
    last edited by Jun 23, 2023, 12:11 PM

    @stephenw10 i lost internet completely when i desabled the firewall

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jun 23, 2023, 12:15 PM

      You would lose it from a client behind the firewall because it also disables NAT but does it allow the firewall to connect to the package servers?

      M 1 Reply Last reply Jun 23, 2023, 12:52 PM Reply Quote 0
      • M
        mrrobot @stephenw10
        last edited by Jun 23, 2023, 12:52 PM

        @stephenw10 no the firewall update status keeps looking in the dashboard
        tired the update from command prompt, no success
        package manager is unable to connect to servers

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jun 23, 2023, 12:55 PM

          Does it still show 'permission denied' though with the firewall disabled?

          M 1 Reply Last reply Jun 23, 2023, 1:20 PM Reply Quote 0
          • M
            mrrobot @stephenw10
            last edited by Jun 23, 2023, 1:20 PM

            @stephenw10 permission denied where ?

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Jun 23, 2023, 2:40 PM

              When you run pkg-static -d update.

              Previously you were seeing:

              DBG(1)[49613]> Fetch: fetching from: https://pkg00-atx.netgate.com/pfSense_v2_6_0_amd64-core/meta.txz with opts "i4"
              pkg-static: https://pkg00-atx.netgate.com/pfSense_v2_6_0_amd64-core/meta.txz: Permission denied
              

              And similarly in the netcat test:

              $nc -vz4 pkg00-atx.netgate.com 443
              	nc: connect to pkg00-atx.netgate.com port 443 (tcp) failed: Permission denied
              

              Since it can't create states locally it must be something on the firewall doing that.
              So if we disable pf and it still shows that error that means it must be something other than pf. Which in 2.6 could really only be ipfw.
              But that's only used in the Captive Portal and for Limiters.
              So since you're not using Captive Portal, do you have Limiters defined? I don't see any rules passing traffic into pipes if you do.

              M 1 Reply Last reply Jun 24, 2023, 6:22 PM Reply Quote 0
              • M
                mrrobot @stephenw10
                last edited by Jun 24, 2023, 6:22 PM

                @stephenw10 said in can't update pfsense or install packages:

                nc -vz4 pkg00-atx.netgate.com 443

                after disabling pf i got this

                [2.6.0-RELEASE][admin@pfSense.xxx.local]/root: pkg-static -d update
                DBG(1)[55352]> pkg initialized
                Updating pfSense-core repository catalogue...
                DBG(1)[55352]> PkgRepo: verifying update for pfSense-core
                DBG(1)[55352]> PkgRepo: need forced update of pfSense-core
                DBG(1)[55352]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                DBG(1)[55352]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.conf
                DBG(1)[55352]> opening libfetch fetcher
                DBG(1)[55352]> Fetch > libfetch: connecting
                DBG(1)[55352]> Fetch: fetching from: https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.conf with opts "i"
                DBG(1)[55352]> Fetch: fetching from: https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.conf with opts "i"
                DBG(1)[55352]> Fetch: fetching from: https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.conf with opts "i"
                DBG(1)[55352]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.txz
                DBG(1)[55352]> opening libfetch fetcher
                DBG(1)[55352]> Fetch > libfetch: connecting
                DBG(1)[55352]> Fetch: fetching from: https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.txz with opts "i"
                DBG(1)[55352]> Fetch: fetching from: https://packages.netgate.com/pfSense_v2_6_0_amd64-core/meta.txz with opts "i"
                ^C
                
                2.6.0-RELEASE][admin@pfSense.xxx.local]/root: nc -vz4 pkg00-atx.netgate.com 443
                nc: getaddrinfo: Name does not resolve
                
                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Jun 24, 2023, 8:15 PM

                  Ok so a DNS issue. For v4 at least

                  How is the sytem DNS configured in general setup?

                  M 1 Reply Last reply Jun 25, 2023, 6:35 PM Reply Quote 0
                  • M
                    mrrobot @stephenw10
                    last edited by Jun 25, 2023, 6:35 PM

                    @stephenw10 im using a local pihole server, but i did try google & cloudflare dns servers with no luck
                    do you want me to run some tests ?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jun 25, 2023, 6:45 PM

                      Yes, some testing is needed in pfSense.

                      But first confirm how pfSense is configured for DNS in General Setup. Is it using only the pihole?

                      M 1 Reply Last reply Jul 2, 2023, 9:46 AM Reply Quote 0
                      • M
                        mrrobot @stephenw10
                        last edited by Jul 2, 2023, 9:46 AM

                        @stephenw10 sorry for the late responce, yes under "system / general setup" i have set up one dns server (my local pi-hole)

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jul 3, 2023, 12:18 PM

                          But what is 'DNS Resolution Behavior' set to? Is it actually using the configured server? By default it will only use that if Unbound doesn't reply on localhost.

                          M 1 Reply Last reply Jul 4, 2023, 6:02 PM Reply Quote 0
                          • M
                            mrrobot @stephenw10
                            last edited by mrrobot Jul 4, 2023, 6:03 PM Jul 4, 2023, 6:02 PM

                            @stephenw10
                            🔒 Log in to view

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Jul 4, 2023, 8:54 PM

                              Ok, so it's trying to use localhost (Unbound). It should fall back to the pihole if that fails but try setting that to 'Use remote DNS servers' and see if that changes anything.

                              M 1 Reply Last reply Jul 5, 2023, 10:26 PM Reply Quote 0
                              • N
                                Nibblet
                                last edited by Jul 5, 2023, 1:05 AM

                                Don't know if it helps, but both your LAN and your WAN appear to be using addresses out of the 10/8 range, and depending on how you have set your network up you might have some weird routing going on - this can lead to errors such as route unreachable.

                                As a start I'd maybe consider renumbering your internal network so it is guaranteed to not use ranges that may be on the WAN side of the network - maybe like 172.20.0.0/16 or something.

                                M 1 Reply Last reply Jul 5, 2023, 10:28 PM Reply Quote 2
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Jul 5, 2023, 11:31 AM

                                  Both are in 10/8 but they are not conflicting. The LAN is /24 and the WAN is a /32 (ptp) outside that /24.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mrrobot @stephenw10
                                    last edited by Jul 5, 2023, 10:26 PM

                                    @stephenw10 alredy tried to use remote but still same issue, i tried again rn with no succes

                                    M 1 Reply Last reply Jul 24, 2023, 6:36 PM Reply Quote 0
                                    • M
                                      mrrobot @Nibblet
                                      last edited by Jul 5, 2023, 10:28 PM

                                      @Nibblet i'll give it a try this weekend

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mrrobot @mrrobot
                                        last edited by Jul 24, 2023, 6:36 PM

                                        @mrrobot anything else we can try ?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Jul 24, 2023, 10:59 PM

                                          Are you still seeing the same 'permission denied' errors?

                                          M 1 Reply Last reply Jul 25, 2023, 1:40 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.