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

    Cant ping my gateway on op1 interface, but can access pfsense web….

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 3 Posters 3.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      " I made rules so that I could connect from my desktop to my ESXI server how is running on the opt1 nic. (See attachemts for my full network setup)"

      There would be no need to create such rules in the default out of the box config because the default rule on lan is any any..  Lan can go anywhere it wants, internet, other local networks you create on pfsense, etc.

      Why don't you post up your rules for both your lan and new opt1 and we can discuss why stuff will or will not work.

      Rules are evaluated top down on an interface, first rule to trigger wins no other rules are looked at.  You create your rules on interface where traffic will first enter pfsense.

      "I made a rule that says any any on the opt1 as well as a rule on LAN that says 172.29.229.2 (ESXI) port * Destination * gateway * "

      Post up your rules or we are just going to be guessing what your did..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • 1
        1keystorke
        last edited by

        thanks for the reply here are my rules

        ![rules lan.PNG](/public/imported_attachments/1/rules lan.PNG)
        ![rules lan.PNG_thumb](/public/imported_attachments/1/rules lan.PNG_thumb)

        1 Reply Last reply Reply Quote 0
        • 1
          1keystorke
          last edited by

          and

          ![rules opt.PNG](/public/imported_attachments/1/rules opt.PNG)
          ![rules opt.PNG_thumb](/public/imported_attachments/1/rules opt.PNG_thumb)

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Sigh.

            • The first rule on LAN is useless.
              -  The 172. rules on LAN have no effect, that's not where you put them
              -  The first rule on OPT1 makes no sense either, it's already covered by the second one.
            • DNS is UDP/TCP, not TCP.
            • Ping is ICMP, not TCP.
            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Pretty much none of those rules makes sense on lan since you have an any any on the bottom and that source of 172.29 would never be seen inbound into lan unless you had a downstream router and lan was your transit network.

              Your rules on opt are pointless as well, as dok pints out dns is UDP, with now and then some possible tcp..

              And where in those rules do you allow ICMP or Any your 2nd rule is any any for tcp only - ping is icmp.

              https://doc.pfsense.org/index.php/Firewall_Rule_Basics

              Firewall rules on Interface and Group tabs process traffic in the Inbound direction and are processed from the top down, stopping at the first match. Where no user-configured firewall rules match, traffic is denied.

              Maybe this should be worded better? Maybe we need to put in pictures??

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • 1
                1keystorke
                last edited by

                Okey I removed them, but still no changes

                ![rules lan.PNG](/public/imported_attachments/1/rules lan.PNG)
                ![rules lan.PNG_thumb](/public/imported_attachments/1/rules lan.PNG_thumb)

                1 Reply Last reply Reply Quote 0
                • 1
                  1keystorke
                  last edited by

                  1

                  woot.PNG
                  woot.PNG_thumb

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    I cannot see anything removed or improved, plus you are missing the absolutely basic rule: you do NOT allow OPT1 traffic on LAN. You allow it on OPT1 (the interfaces where the traffic first hits the firewall)

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      yeah looks like you got this .6 wanting to talk to googledns.. Going to be hard for it resolve local stuff that way ;)

                      What I would highly suggest is put in any any rule on Opt1, get your stuff talking!!  Then put in block rules for what you don't want to talk.. Unless you don't want opt talking to lan at all?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • 1
                        1keystorke
                        last edited by

                        update of rules

                        ![lan updated.PNG](/public/imported_attachments/1/lan updated.PNG)
                        ![lan updated.PNG_thumb](/public/imported_attachments/1/lan updated.PNG_thumb)

                        1 Reply Last reply Reply Quote 0
                        • 1
                          1keystorke
                          last edited by

                          updated opt1

                          ![opt1 updated.PNG](/public/imported_attachments/1/opt1 updated.PNG)
                          ![opt1 updated.PNG_thumb](/public/imported_attachments/1/opt1 updated.PNG_thumb)

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            And again completely pointless with that TCP rule with a rule right below it that says any any..  You do not need this rule!!!  Unless you wanted to log or something - which you clearly do not have marked.

                            And you rule on opt is only allow TCP, not ping (icmp) or dns which is UDP..

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              The first rule is still pointless. But yet again: You are showing us the WRONG INTERFACE!!!

                              You need to allow the traffic on OPT1, NOT LAN!!!!

                              1 Reply Last reply Reply Quote 0
                              • 1
                                1keystorke
                                last edited by

                                Okey god… I am such an idiot............ Figured it out now........ God dam.......

                                1 Reply Last reply Reply Quote 0
                                • 1
                                  1keystorke
                                  last edited by

                                  thanks guys for sticking it out…. I am such a freaking dumb ass.....

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    doktornotor Banned
                                    last edited by

                                    Well no problem, you figured out the issue pretty fast. Some people don't get it even after a couple of days. :D

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                      1keystorke
                                      last edited by

                                      I felt so freaking dumb when I discovered what I had done worng. But again thaks for helping me in my less bright moments :P

                                      1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by

                                        Days?  heheh dok there are some that don't get it after weeks ;) heheheh

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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