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

    [SOLVED] Access from LAN to DMZ(OPT1)

    Scheduled Pinned Locked Moved Firewalling
    23 Posts 3 Posters 3.8k 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.
    • T
      theboda
      last edited by

      Ok I deleted all rules for the DMZ interface.
      Left the LAN interface with the default rules.
      Tried to ping the device in the DMZ, did a packet capture on the DMZ interface –> got no output at all.

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

        Is your device on lan using pfsense as gateway?  Can you ping the dmz interface IP of pfsense?

        Did you maybe set a /32 mask on the pfsense dmz IP vs say /24?

        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
        • T
          theboda
          last edited by

          Yes my lan device has the gateway 192.168.1.1 which is the LAN gateway of the pfsense.
          Tried to ping 192.168.3.1, but can't ping the dmz interface either.

          ping 192.168.3.1
          PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data.
          From 192.168.1.105 icmp_seq=1 Destination Host Unreachable
          
          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            well if you can not ping the dmz IP of pfsense from lan - then your never going to get to a device on the dmz.  Ae you using a vpn client on pfsense and sending all traffic out the vpn?

            Did you set a /32 on the dmz IP?

            Are you using a vpn client on the lan device?

            Post up the interface settings of your lan and dmz in pfsense.  This really is clickity clickity worky sort of stuff.

            Did you put some rule in your floating tab that would be blocking it?

            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
            • T
              theboda
              last edited by

              No vpns at all on the systems.
              The dmz IP is set on a /32

              ![Lan interface.png](/public/imported_attachments/1/Lan interface.png)
              ![Lan interface.png_thumb](/public/imported_attachments/1/Lan interface.png_thumb)
              ![dmz interface.png](/public/imported_attachments/1/dmz interface.png)
              ![dmz interface.png_thumb](/public/imported_attachments/1/dmz interface.png_thumb)

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

                Why would you be getting back that from .105?  pfsense lan IP was .1 you stated.

                LAN IGB1 192.168.1.1

                Do you have some host routes setup on this lan box?

                you sure your lan mask is /24 and not maybe say /22 or larger?  Is this lan device windows box?  If so post output of ipconfig /all and route print.

                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
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  your /32 is BROKEN…  Set that to /24 how it normally would be..

                  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
                  • T
                    theboda
                    last edited by

                    Set it to /24, still not working.
                    The laptop is a linux machine.
                    I don't have host routes set up, not that I know of.

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

                      well do a netstat -nr on it..

                      So you can see your routes… This will also validate what mask you have... When you ping you an IP on a different network you sure shouldn't be getting back from a different host

                      From 192.168.1.105 icmp_seq=1 Destination Host Unreachable

                      On your own network that is not your gateway that it can not get there.

                      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
                      • T
                        theboda
                        last edited by

                        here is my netstat output

                        netstat.png
                        netstat.png_thumb

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

                          your mask is /16 so 192.168.3 is on the same network…  So no never going to sent traffic to pfsense to get there.

                          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
                          • T
                            theboda
                            last edited by

                            Thank you!!  ::)

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

                              np - knew it had to be something silly.. If you would of been dhcp on the client never could of happened.

                              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
                              • NogBadTheBadN
                                NogBadTheBad
                                last edited by

                                Glad your sorted :)

                                BTW you have IPv6 track interface on your lan interface and no IPv6 firewall rules, if you dont use IPv6 disable it.

                                Andy

                                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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