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

    opt cannot going to internet

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 3 Posters 469 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.
    • D Offline
      dimsum
      last edited by

      Hello, There.

      I was a little confused it's about the rule on the opt interface. I have created a rule that
      cf533923-380c-4984-a548-616c3bc5e48d-image.png

      and the firewall log said the packet passed
      9cf7f066-8929-4143-81ef-61928332d0ba-image.png

      So now, I cannot ping 8.8.8.8 what is wrong?
      eb91dbd4-f264-4601-b176-f89b5758d026-image.png

      How can I troubleshoot the problem? If this problem is clear I will set the rule to the internet later.

      Any ideas, please let me know.

      Thank you.

      johnpozJ D 2 Replies Last reply Reply Quote 0
      • johnpozJ Online
        johnpoz LAYER 8 Global Moderator @dimsum
        last edited by

        @dimsum why would you be using 172.1.1.1 ? That is public space..

        CIDR: 172.0.0.0/12
        OrgName: AT&T Corp.

        I mean it should still nat to what your public IP is.. But it would be a horrible choice to use locally.. And .1 is an odd IP for a client as well, since .1 and .254 are normally used as gateways.

        With those 2 oddities, I would say you got something else going on..

        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 25.07.1 | Lab VMs 2.8, 25.07.1

        D 1 Reply Last reply Reply Quote 0
        • JonathanLeeJ Offline
          JonathanLee
          last edited by JonathanLee

          Have you created any other rules outside of the DNS? Is your resolver doing the DNS or something else like Unbound?

          You might need to set unbound to also resolve for your new interface..

          Do you also use access control lists on unbound?

          Screenshot 2024-02-18 at 21.39.44.png

          Screenshot 2024-02-18 at 21.40.02.png

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          • D Offline
            dimsum @dimsum
            last edited by

            @dimsum I missed about rfc1918. so now I have reconfigured opt to 172.16.100.0/24 but when I test ping I have a reply message from my LAN GW.

            3688c14e-b31d-4725-95b3-08bc9d244aac-image.png

            This's my opt settings
            fde866e4-6d84-453c-a40c-748f4c8e75cb-image.png

            Routing

            Thanks!

            1 Reply Last reply Reply Quote 0
            • D Offline
              dimsum @johnpoz
              last edited by

              @johnpoz Thanks for your help. I have allowed my opt interface already.

              johnpozJ D 2 Replies Last reply Reply Quote 0
              • johnpozJ Online
                johnpoz LAYER 8 Global Moderator @dimsum
                last edited by

                @dimsum what is this 192.168.10.254? You show that the IP address is 172.168.100.254 on pfsense.. Is that your upstream of pfsense, so your double natting?

                Does pfsense lan work?

                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 25.07.1 | Lab VMs 2.8, 25.07.1

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dimsum @dimsum
                  last edited by

                  @dimsum I have rechecked my LAN the gateway is set to 192.168.10.254 and now I setting it to none. LAN is working and can connect to the internet.

                  when I ping 1.1.1.1 it does work
                  37f47c63-42a5-46f2-81da-274dacb34e1b-image.png

                  firewall log
                  22bbd2c7-62d2-4e3e-98fb-a165689cfba5-image.png

                  tracert 1.1.1.1
                  bba9b1ad-d7b5-4795-b621-c1ba41a2e8c3-image.png

                  firewall role
                  d539e5bb-46e8-4907-ba1d-97def70b0730-image.png

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

                    @dimsum said in opt cannot going to internet:

                    when I ping 1.1.1.1 it does work

                    No it doesn't - you are showing timeout - that is not working.

                    These are working examples

                    working.jpg

                    timeouts and ttl expired and nothing past hop 1 is not working anything.. So even your lan doesn't work??

                    Can pfsense itself even ping anything?

                    pingpf.jpg

                    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 25.07.1 | Lab VMs 2.8, 25.07.1

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