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

Internet on windows but not ubuntu bad pfsense configuration?

Scheduled Pinned Locked Moved General pfSense Questions
41 Posts 4 Posters 5.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.
  • D
    DaddyGo @Raffi_
    last edited by Jul 16, 2020, 4:03 PM

    @Raffi_

    just an idea
    it would be worthwhile to look at and compare these:

    Windows: https://docs.microsoft.com/en-us/previous-versions//cc977482(v=technet.10)?redirectedfrom=MSDN

    Linux: /etc/resolv.conf

    search domain.net
    option timeout:1
    nameserver 1.1.1.1
    nameserver 2.2.2.2
    nameserver 3.3.3.3

    or something like that

    Cats bury it so they can't see it!
    (You know what I mean if you have a cat)

    1 Reply Last reply Reply Quote 0
    • F
      Farisse @Raffi_
      last edited by Jul 16, 2020, 4:22 PM

      @Raffi_
      b958cd9d-7c01-48ee-9d97-6ea2e1a68972-image.png 710c96f0-0f10-41a3-8146-01e4c9b6f1cd-image.png

      I removed the localhost from the general setting and these are the results

      @DaddyGo It was a good suggestion, but unfortunately /etc/resolv.conf is managed by systemd-resolved who is used by netplan /etc/netplan/*.yaml

      1 Reply Last reply Reply Quote 0
      • R
        Raffi_
        last edited by Raffi_ Jul 16, 2020, 6:02 PM Jul 16, 2020, 6:02 PM

        Interesting, well the two DNS servers seem to be responding better now. That could also be because they are caching.

        How is Ubuntu getting its interface settings? Is it statically assigned in Ubuntu or is it set to automatic (DHCP)? There were no leases in your DHCP list.

        1 Reply Last reply Reply Quote 0
        • F
          Farisse
          last edited by Farisse Jul 16, 2020, 6:18 PM Jul 16, 2020, 6:11 PM

          I assigned static ip through /etc/netplan/01-network-manager-all.yaml

          8289bd18-79be-4859-a103-cc2f027aab86-image.png

          Everything seems good to me....

          Edit, maybe an non relevant information, i can not ping the other vms in the dmz network. But my other vms can ping my ubuntu vm. Could it be something to do with routing ?

          1 Reply Last reply Reply Quote 0
          • R
            Raffi_
            last edited by Jul 16, 2020, 6:28 PM

            Try running a packet capture on the DMZ of pfSense.
            Diagnostics/ Packet Capture
            Select DMZ, then in Count enter a very high value such as 10000. You can enter 0 but don't forget to stop the capture manually otherwise it will run a continuous capture and it can become a problem.

            Download the capture data to wireshark and check for DNS info.

            Dumb question, but have you tried to ping 8.8.8.8 from ubuntu? Does that work or is that failing as well?

            F 2 Replies Last reply Jul 16, 2020, 6:30 PM Reply Quote 0
            • F
              Farisse @Raffi_
              last edited by Jul 16, 2020, 6:30 PM

              @Raffi_ said in Internet on windows but not ubuntu bad pfsense configuration?:

              Dumb question, but have you tried to ping 8.8.8.8 from ubuntu? Does that work or is that failing as well?

              Nope doesn't work because its blocked by the school.

              I'll try the packet in a few minutes

              R 1 Reply Last reply Jul 16, 2020, 6:32 PM Reply Quote 0
              • R
                Raffi_ @Farisse
                last edited by Jul 16, 2020, 6:32 PM

                @Farisse said in Internet on windows but not ubuntu bad pfsense configuration?:

                @Raffi_ said in Internet on windows but not ubuntu bad pfsense configuration?:

                Dumb question, but have you tried to ping 8.8.8.8 from ubuntu? Does that work or is that failing as well?

                Nope doesn't work because its blocked by the school.

                I'll try the packet in a few minutes

                ICMP is blocked or google DNS server specifically is blocked?

                1 Reply Last reply Reply Quote 0
                • F
                  Farisse
                  last edited by Jul 16, 2020, 6:38 PM

                  ICMP I guess. I can ping outside the network but not 8.8.8.8 or 8.8.4.4 I wont recieve any result wit this commands i began the ping on ubuntu and then on the windows machine who got internet:

                  086ed859-11b6-4a63-b7b7-8e99662291b9-image.png

                  1 Reply Last reply Reply Quote 0
                  • F
                    Farisse @Raffi_
                    last edited by Jul 16, 2020, 6:50 PM

                    @Raffi_ said in Internet on windows but not ubuntu bad pfsense configuration?:

                    Select DMZ, then in Count enter a very high value such as 10000. You can enter 0 but don't forget to stop the capture manually otherwise it will run a continuous capture and it can become a problem.
                    Download the capture data to wireshark and check for DNS info.

                    So apparently my ubuntu machine does not send any dns request :

                    2225e6fe-06a3-4207-82a3-72f4b6608b51-image.png

                    R 1 Reply Last reply Jul 16, 2020, 7:09 PM Reply Quote 0
                    • R
                      Raffi_ @Farisse
                      last edited by Jul 16, 2020, 7:09 PM

                      @Farisse said in Internet on windows but not ubuntu bad pfsense configuration?:

                      So apparently my ubuntu machine does not send any dns request :

                      2225e6fe-06a3-4207-82a3-72f4b6608b51-image.png

                      That's not good. Is it even able to talk to pfSense at all? Can you ping pfSense (192.168.1.1) from Ubuntu?

                      1 Reply Last reply Reply Quote 0
                      • F
                        Farisse
                        last edited by Jul 16, 2020, 7:14 PM

                        Yup but not able to ping windows machine

                        709f9d29-bf60-4c42-92a0-401482698b4d-image.png

                        R 1 Reply Last reply Jul 16, 2020, 7:15 PM Reply Quote 0
                        • R
                          Raffi_ @Farisse
                          last edited by Jul 16, 2020, 7:15 PM

                          @Farisse said in Internet on windows but not ubuntu bad pfsense configuration?:

                          Yup but not able to ping windows machine

                          709f9d29-bf60-4c42-92a0-401482698b4d-image.png

                          It can't ping Windows because by default Windows does not respond to ping. That has to be manually enabled in Windows. It is responding to pfSense though. So at least there is some sign of life there.

                          1 Reply Last reply Reply Quote 0
                          • F
                            Farisse
                            last edited by Jul 16, 2020, 7:22 PM

                            Damn forgot to disable fw on this windows machine. >.<"

                            So apparently I don't know why, I suddenly have internet on my ubuntu machine.

                            I did not change anything i've reset my ubuntu vm twice to be sure and it seems to work. What the hell is going on here :o i think i'm losing my mind

                            R D 2 Replies Last reply Jul 16, 2020, 7:25 PM Reply Quote 0
                            • R
                              Raffi_ @Farisse
                              last edited by Jul 16, 2020, 7:25 PM

                              @Farisse said in Internet on windows but not ubuntu bad pfsense configuration?:

                              Damn forgot to disable fw on this windows machine. >.<"

                              So apparently I don't know why, I suddenly have internet on my ubuntu machine.

                              I did not change anything i've reset my ubuntu vm twice to be sure and it seems to work. What the hell is going on here :o i think i'm losing my mind

                              lol don't touch it. You have a number of things which don't make sense. Like for instance the ping to pfSense is taking on average 600ms. In reality it should be more like 6ms. You have two extra zeros of delay. That's not good.

                              1 Reply Last reply Reply Quote 1
                              • F
                                Farisse
                                last edited by Farisse Jul 16, 2020, 7:43 PM Jul 16, 2020, 7:38 PM

                                Haha i won't but hope it will work when i will need it ! :D
                                Apparently even this is fixed. :

                                192.168.1.1 is my gateway to pfsense and 192.168.0.50 is pfsense ip..

                                0142f8fb-0651-4261-962b-0d1eea4fd6c6-image.png

                                I really hope it will stay working as i need it crossfingers

                                Many thanks for your help guys!

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DaddyGo @Farisse
                                  last edited by Jul 17, 2020, 9:00 AM

                                  @Farisse said in Internet on windows but not ubuntu bad pfsense configuration?:

                                  Damn forgot to disable fw on this windows machine. >.<"

                                  you don’t have to disable it all, just use this πŸ˜‰

                                  netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow

                                  Cats bury it so they can't see it!
                                  (You know what I mean if you have a cat)

                                  F 1 Reply Last reply Jul 17, 2020, 3:26 PM Reply Quote 1
                                  • F
                                    Farisse @DaddyGo
                                    last edited by Jul 17, 2020, 3:26 PM

                                    @DaddyGo

                                    Oow Nice good to know !! I actually disabled the fw just for testing, after the test i would reanable the firewalls but very good to know for my other servers maybe !! Thank you ! πŸ’―πŸ˜

                                    D 1 Reply Last reply Jul 17, 2020, 7:18 PM Reply Quote 0
                                    • D
                                      DaddyGo @Farisse
                                      last edited by Jul 17, 2020, 7:18 PM

                                      @Farisse

                                      you welcome πŸ˜‰

                                      Cats bury it so they can't see it!
                                      (You know what I mean if you have a cat)

                                      1 Reply Last reply Reply Quote 1
                                      33 out of 41
                                      • First post
                                        33/41
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received