Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Firewalling» Can't get simple DMZ to work - Help!!
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Can't get simple DMZ to work - Help!!  (Read 1298 times)
0 Members and 1 Guest are viewing this topic.
sdiversp
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: December 22, 2011, 12:31:38 pm »

Hello,
Need some help in getting a simple DMZ to work, not sure where I am going wrong. First of all let me say I have read the documentation at: 1. http://doc.m0n0.ch/handbook-single/#id11642778 & 2. http://www.digitalphotomac.com/PFsense/DMZ/ and followed the instructions.

 Here is my Setup:

Alix board with 3 interfaces:
 1. WAN: Single IP provided by ISP (71.197.xxx.xxx)
 2. LAN: DHCP enabled (192.168.2.1/27)
 3. OPT1>DMZ: Enabled [Type-Static, Bridge-none, IP addr- 192.168.5.1/24]

Rules (in order):
LAN:
*/LAN net/*/*/*/*   (default LAN to any)
UDP/ATA/*/*/VoIP/*  (VoIP use in LAN)

WAN:
*/RFC1918/*/*/*/*/* (block private ntwks)
*/Resrvd/*/*/*/*/*     (block bogon ntwks)
TCP/*/*/192.168.5.1/80 (http)/*/  (http to web server)
TCP/*/*/129.168.5.1/443 (https)/*/  (https to web server)

DMZ:
UDP/DMZ net/*/192.168.2.1/53(DNS)/*/   (Permit DMZ to primary DNS server)
TCP/*/*/LAN net/*/*/     (Reject DMZ to LAN)
*/DMZ net/*/ ! LAN net/*/*/    (Permit DMZ 2 any 'but' LAN)

I understand to make this work I have to do in-bound NAT since it is a 1 public IP to 1 internal web server.  

Firewall>NAT>Port Forward:
WAN/TCP/80(HTTP)/192.168.5.1 (ext: 71.197.xxx.xxx)/80 (HTTP)      (HTTP to web server)
WAN/TCP/443(HTTPS)/192.168.5.1 (ext:71.197.xxx.xxx)/443(HTTPS)  (HTTPS to web server)

So I have configured my interface, added rules for both WAN & DMZ and done port forwarding from WAN to DMZ.   From the documentation it seems this should work.

Problem - when I connect the server to the DMZ port (OPT1) it does not get an IP address.   Do I have to enable DHCP on the DMZ interface?  That doesn't seem to be correct since the documentation is showing it should be a static mapping.  I am not sure what I am doing wrong here.   Both m0n0wall handbook and the examples suggest this should work.

Any guidance is appreciated and thanks in advance.

« Last Edit: December 22, 2011, 06:28:23 pm by sdiversp » Logged
Metu69salemi
Hero Member
*****
Offline Offline

Posts: 1560


View Profile
« Reply #1 on: December 22, 2011, 03:19:01 pm »

if you have defined source port then remove it and try again
Logged
sdiversp
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: December 22, 2011, 04:39:42 pm »

if you have defined source port then remove it and try again

I am sorry, did you mean remove the source port from the Port Forward (NAT) or from the DMZ rules set?  Thanks in advance for your help.
Logged
Metu69salemi
Hero Member
*****
Offline Offline

Posts: 1560


View Profile
« Reply #3 on: December 23, 2011, 01:26:34 am »

from the port forwarding rules
Logged
sdiversp
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #4 on: April 16, 2012, 02:52:57 pm »

Hi, can anyone provide any guidance?  Embarrassed  I am not sure why my DMZ won't give out addresses? Any pointers would help.  Thank you!!
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6053


View Profile WWW
« Reply #5 on: April 16, 2012, 07:04:27 pm »

You have to enable the DHCP server on that interface for it to assign IPs.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.048 seconds with 19 queries.