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

How to build a DMZ?

Scheduled Pinned Locked Moved Firewalling
8 Posts 3 Posters 1.3k 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.
  • L
    lordfurqon
    last edited by Apr 10, 2017, 5:06 PM

    My first time using pfsense. in this case I will build DMZ but I am confused how to build the DMZ, if only to add a rule to the firewall? or other?
    case as shown below:

    please help the master, thank you very much.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Apr 11, 2017, 9:56 AM

      DMZ would not be in the same segment as your other servers.. Unless all of them are going to be in the dmz?  But you have no other segments..

      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
      • K
        kpa
        last edited by Apr 11, 2017, 11:36 AM

        You probably mean a "pseudo" DMZ that you have in many el cheapo routers where the router forwards all possible ports to single address on the LAN network. This is not supported on pfSense because it's not a real DeMilitarized Zone and offers no separation from the other hosts. You'll need a separate DMZ interface on your pfSense if you want to have one.

        1 Reply Last reply Reply Quote 0
        • L
          lordfurqon
          last edited by Apr 12, 2017, 4:35 PM

          @johnpoz:

          DMZ would not be in the same segment as your other servers.. Unless all of them are going to be in the dmz?  But you have no other segments..

          so, should the different segments. but based on the topology of the above still could not make a DMZ?

          1 Reply Last reply Reply Quote 0
          • L
            lordfurqon
            last edited by Apr 12, 2017, 4:42 PM

            @kpa:

            You probably mean a "pseudo" DMZ that you have in many el cheapo routers where the router forwards all possible ports to single address on the LAN network. This is not supported on pfSense because it's not a real DeMilitarized Zone and offers no separation from the other hosts. You'll need a separate DMZ interface on your pfSense if you want to have one.

            so I can not make the DMZ is based on the topology of the above?

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Apr 12, 2017, 4:50 PM Apr 12, 2017, 4:46 PM

              All dmz is is a firewalled segment with normally restrictive rules that prevents it from accessing your other segments.  And which is normally allowed traffic unsolicited inbound from hostile network or say internet  So via another interface or a vlan you could break out another network.. Make it 192.168.201/24 for example.

              If you do not have a switch to use vlans to isolate your "dmz" segment from the rest of your network.. You could just use another switch and interface on pfsense.

              In your drawing you don't spell out this wifi network you have.. So I take it you bridged this to your 192.168.200/24 segment??

              Normally if your serving up web to the internet, the webservers would be in a "dmz" from the rest of your network.. You don't show any other networks?  Are your local end clients all on the wifi that is bridged to your 192.168.200?

              As an example I have my ntp server that serves up ntp to the ntp pool (internet).  This is in my "dmz" segment that blocked from from creating connections into any my other network segments/vlan.  But my other local segments can create traffic into the dmz..

              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
              • L
                lordfurqon
                last edited by Apr 12, 2017, 10:52 PM

                @johnpoz:

                All dmz is is a firewalled segment with normally restrictive rules that prevents it from accessing your other segments.  And which is normally allowed traffic unsolicited inbound from hostile network or say internet  So via another interface or a vlan you could break out another network.. Make it 192.168.201/24 for example.

                If you do not have a switch to use vlans to isolate your "dmz" segment from the rest of your network.. You could just use another switch and interface on pfsense.

                In your drawing you don't spell out this wifi network you have.. So I take it you bridged this to your 192.168.200/24 segment??

                Normally if your serving up web to the internet, the webservers would be in a "dmz" from the rest of your network.. You don't show any other networks?  Are your local end clients all on the wifi that is bridged to your 192.168.200?

                As an example I have my ntp server that serves up ntp to the ntp pool (internet).  This is in my "dmz" segment that blocked from from creating connections into any my other network segments/vlan.  But my other local segments can create traffic into the dmz..

                sorry on the topology above are not included. to access free wifi using the ip address ip address 192.168.1.1/24 with the provision in the DHCP of bounds 192.168.1.10 to 192.168.1.40.

                because I lacked a DMZ interface to build the solution create a VLAN?

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Apr 13, 2017, 9:17 AM

                  How many interfaces does your pfsense have?  If you do not have enough then yes use a vlan.. What switch do you have - does it support vlans?

                  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
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received