Thanks. I got everything up and running on 2.0 and is working great. I actually looked at a lot of other product and the only way was to do a 1:1 NAT which requires a double set of IP's for each server which is an administrative pain.
I know I have seen many others ask how to do this and I thought I would share it. Here's my network diagram:
Internet
|
ISP
|
PfSense
|
/
LAN DMZ
I basically have 3 networks:
1/ N1 - Public /30 address (WAN)
2/ N2 - Public /26 address (DMZ)
3/ N3 - Internal LAN (10.X.X.X) address (LAN)
My requirement is that I want N2 to be filtered by PF and that all traffic going in and out can be filtered. Note that I am assigning IP's from N2 directly to each server. Here's how I setup PF:
1/ Configure 3 interfaces: WAN, LAN, DMZ
2/ Specify an IP address from each network to their respective interfaces
3/ Under Interfaces->(assign)->Bridges, create a new bridge with WAN and DMZ. This will route the traffic as is between the networks and not be a NAT relationship
4/ Under Firewall->NAT->Outbound select manual and delete all rules
That is basically it. EVerything will route properly now. The only thing left is to create inbound and outbound rules. To create an outbound rule, under Firewall->Rules->DMZ, create a new rule for your server to the internet. Here's an example setting for outbound HTTP:
Action: Pass
Interface: DMZ
Protocol: TCP
Source: Single IP and specify the N2 IP assigned directly to the server
Source port range: any/any
Destination: any
Destination port range: 80/80
This will basically allow any server connected to the DMZ interface to access port 80 on any network. To create an inbound rule, under Filrewall->Rules->WAN, create a new rule for inbound traffic from the internet to your server:
Action: Pass
Interface: DMZ
Protocol: TCP
Source: any
Source port range: any/any
Destination: Single IP and specify the N2 IP assigned directly to the server (same as the outbound rule)
Destination port range: 80/80
This will allow any IP computer connected to the WAN (basically the internet) to connect to port 80 for the server.
I actually verified with port scans that this was the only port open and broadcasting. I hope others find this useful as I didn't see any exact instructions (most were "setup a bridge" or outdated) within the forums.
Final note is that you will see I am connected to the LAN but no rules. This is because I only use the LAN to administer PF. You are more than free to create port forwards to your LAN but this isn't something I am doing with what I am trying to accomplish.