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

    pfSense on PROXMOX with HomeAssistant

    Scheduled Pinned Locked Moved General pfSense Questions
    58 Posts 6 Posters 13.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.
    • G
      Gblenn
      last edited by Gblenn

      The process you are suggesting looks perfectly fine to me. The only thing I'm wondering about is your static IP's? Does your ISP not provide DHCP for your WAN connection? Pfsense will of course have 192.168.1.1 but that is set from within itself, not from Proxmox. Another question is why ports 0 and 3 on the new one, you are free to change now, so why not two adjacent ports? Makes it easier to remember when you start playing around with other VM's if that is what you will be doing?

      And, about running other VM's on the same machine... I was running pfsense on my main server which also hosts Plex, NextCloud and a number of other servers. I was making a lot of changes and experimentation on that server which occasionally had me running into trouble or wanting to reboot. So that led me to dedicating another HW to pfsense and related VM's (PiHole, NtopNG, HAProxy and the likes).

      Also, at step 3. "Configure the NEW pfsense", I would use the config from your existing one. Take a backup, load it in the new one, restart and depending on the NW cards you might have to go in an reassign your network interfaces from within the GUI of pfsense. That's all there is to it.

      Regarding my comment on "all 4 ports free", I meant available to pfsense... and of course one of them would be used for WAN then. I actually have 3 ports used for pfsense, where one connects to an LTE Router as failover. So LAN, WAN and WAN2...

      bearhntrB 1 Reply Last reply Reply Quote 0
      • bearhntrB
        bearhntr @Gblenn
        last edited by bearhntr

        @gblenn

        I will play with this after work (when I do not need Internet -- WFH here).

        Then I gotta figure out why I am getting the ICMPv6 errors. I put the same RULE I had before in pfSense. I know Comcast will not do IPv6 Reverse DNS (as a residential customer) and still do not know why the browser is not doing IPv6. This has always worked.

        5c8de95c-3918-4e02-9e08-d31e6dbd4987-image.png

        d362050d-acf5-4bda-8029-71667f1adcd2-image.png

        bearhntrB 1 Reply Last reply Reply Quote 0
        • bearhntrB
          bearhntr @bearhntr
          last edited by

          @Gblenn @stephenw10 @Patch @jimp

          Thanks again for all of your help....very much appreciated.

          OK. I have put pfSense back on a stand-alone box (well the HP T620+ I had put {Proxmox on) and it is running as before. I have made a new backup and will look to put a new Proxmox install on the new HP Z240 I got for Proxmox and using all the notes from here.

          Now I cannot figure out why the IPv6 test is failing - I used to get 18/20 on this test (only because COMCAST will not do an IPv6 Reverse DNS record for residential).

          45a6f370-f86e-49d4-bebb-85c0fd5b6672-image.png

          I have rules in pfSense for this. Odd that it is not working. But this also shows it was not tested. Maybe it is not me. :-)

          5b84b649-524a-44a6-aca8-25e7e8eb02c6-image.png

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

            Do you see it blocked in the firewall log? What rule is blocking it?

            bearhntrB 1 Reply Last reply Reply Quote 0
            • bearhntrB
              bearhntr @stephenw10
              last edited by bearhntr

              @stephenw10

              I see nothing in the logs which would be blocking it. In face the Firewall logs do not show anything that I can see ICMP.

              I see these when I FILTER on ICMP - but they are all IPV4. Which still should be working too.

              7903cfd6-490f-480e-acc9-c7ab06d8e50f-image.png

              based on these rules:

              69ab68cf-5e73-4753-9ed4-1c4870aeed83-image.png

              812a84ec-5fc0-4789-b8ed-e6335c359468-image.png

              bearhntrB 1 Reply Last reply Reply Quote 0
              • bearhntrB
                bearhntr @bearhntr
                last edited by

                This one seems to get a 10/10: https://test-ipv6.com/

                a3aa0f75-9faf-4c66-a28e-cba0e48b86b0-image.png

                Given that the other one shows that ICMP was not tested - I am not going to worry about it.

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

                  ICMP is required for IPv6 but the default firewall rules should pass it:

                  # IPv6 ICMP is not auxiliary, it is required for operation
                  # See man icmp6(4)
                  # 1    unreach         Destination unreachable
                  # 2    toobig          Packet too big
                  # 128  echoreq         Echo service request
                  # 129  echorep         Echo service reply
                  # 133  routersol       Router solicitation
                  # 134  routeradv       Router advertisement
                  # 135  neighbrsol      Neighbor solicitation
                  # 136  neighbradv      Neighbor advertisement
                  pass  quick inet6 proto ipv6-icmp from any to any icmp6-type {1,2,135,136} ridentifier 1000000107 keep state
                  

                  You probably need to filter by ipv6-icmp if it was being blocked by pfSense. However it shouldn't be possible to block the 4 icmp types as the rule is 'quick' and high up in the rules table.

                  Steve

                  bearhntrB 1 Reply Last reply Reply Quote 1
                  • bearhntrB
                    bearhntr @stephenw10
                    last edited by

                    @stephenw10 said in pfSense on PROXMOX with HomeAssistant:

                    ipv6-icmp

                    I get n nothing:

                    0544c814-8a78-442c-934c-81adbe52407d-image.png

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

                      My mistake it's actually logged as ICMPv6:

                       	Sep 26 13:40:20 	WAN 	Default deny rule IPv6 (1000000105) 	[xxxx:yyyy:7282:101:20d:b4ff:fe0c:aed6]		[xxxx:yyyy:7282:101::2000]		ICMPv6
                      	Sep 26 13:40:21 	WAN 	Default deny rule IPv6 (1000000105) 	[xxxx:yyyy:7282:101:20d:b4ff:fe0c:aed6]		[xxxx:yyyy:7282:101::2000]		ICMPv6
                      	Sep 26 13:40:22 	WAN 	Default deny rule IPv6 (1000000105) 	[xxxx:yyyy:7282:101:20d:b4ff:fe0c:aed6]		[xxxx:yyyy:7282:101::2000]		ICMPv6 
                      

                      Echorequest/replies are blocked by default like that but the 4 required types should never be.

                      Steve

                      bearhntrB 1 Reply Last reply Reply Quote 0
                      • bearhntrB
                        bearhntr @stephenw10
                        last edited by

                        @stephenw10

                        Not getting any hits - unless I just put in ICMP (and the errors show v4, no v6)

                        650c8f85-5b6d-409d-b096-7def1b6010bf-image.png

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

                          Not blocked in pfSense then. So either it just wasn't tested, as it seems to imply. Or it's blocked upstream.

                          Steve

                          bearhntrB 1 Reply Last reply Reply Quote 1
                          • bearhntrB
                            bearhntr @stephenw10
                            last edited by

                            @stephenw10 @jimp @Patch @Gblenn

                            Thanks again everyone for your help.

                            I am going to run this like this for a while - and take weekly backups. When I am ready to move to Proxmox - I will install fresh and then restore the last backup.

                            Right now I have another issue... suddenly the 4-port card that I put into the HP Z240 prevents the machine from booting. I can take it out and put into another machine and that one boots just fine. Boots all the way to Windows server 2019, is seen and all 4-ports are there.

                            Put it in the HP and I get 3 slow-beeps and RED power light, then 2 fast-beeps and white power light. I have a ticket with the folks at HP. It is an HP card 331T card.

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