General Firewall Theory Question

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Hey there, so I have a firewall that has a DMZ port that will allow for pretty much one range of IP addresses (that need to match the IP of the firewall itself (as given to me by the ISP)) I however need a few more externally facing IP addresses so I was given a second block of IP addresses (of course) far and away all sorts of different from the other ones.

Being as hunting up a "how to" on any one firewall is a complete pain in the neck (be it Sonicwall or 3com, we have both) I was curious the general THEORY behind doing this. Does it involve static routing somehow, a DNS server? What? How would you go about making your second block of IP addresses useable in this situation?

Thanks!

~Ben
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Have another interface on the firewall. For example interface A = 12.1.1.0/24, interface B = 12.2.2.0/24, interface C = INSIDE network. Then your Internet router would of course need to have routes to both of the 12. addresses, one of which is probably directly connected.
 

Jamsan

Senior member
Sep 21, 2003
795
0
71
You could assign 2 different VLANs on the same physical interface of the firewall. VLAN 100 on eth0/0 could be 12.1.1.0 / 24 and VLAN 200 could be 12.2.2.0 / 24. You'll need a VLAN capable switch in the DMZ, but that's probably not too far fetched. This option is a little easier, as some firewalls are licensed per interface and it can get very costly on upgrading to additional interfaces.
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Thanks for the ideas. I have 3 interfaces on our current firewall: WAN, LAN, and DMZ. That's all I've got to work with at the moment.

Ideas?
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
Well, obviously, without you telling us what kind of firewall it is, there's not much we can do to help you.
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
That's not entirely true. Didn't you read the subject thread? Firewall THEORY. I'm not looking for a walk through, I'm looking for how you would do something like this in theory.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Originally posted by: Xsorovan
That's not entirely true. Didn't you read the subject thread? Firewall THEORY. I'm not looking for a walk through, I'm looking for how you would do something like this in theory.

Drebo is correct. There are other features you can use, but it would depend on what kind of firewall you have if those features are available to use - like vlans already mentioned.

If it were me I'd get a new firewall because it sounds like you've outgrown your current one.
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Ok, well then I have a firewall laying around, a Sonicwall TZ190. There is a model number. Theories? (To replace the old Lan/Wan/DMZ FW)
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
My theory is don't use a Sonicwall, because it's not going to do what you want it to.

An ASA5510 would be very easy to do this. Or an IOS router with firewall featureset. Or even an ASA5505 Security Bundle would allow you to do this with VLANs.

But, like Crusty said...NAT would probably be the easiest way to do this and might not require any extra equipment (though I can't say for sure because you haven't told us what you're using).
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Maybe I can't quite wrap my head around this or I am missing something: How would you setup a DMZ with a NAT. Assuming behind the firewall there are going to be 5 to 6 servers that need access to the internet and a external IP address so that PersonX can get to the server from home/ work/ anywhere there is internet. Do I need the internal structure of the DMZ side of things to be actual IP addresses, or a private address scheme?

IE: Does it need to look like this:

WAN - xx.xx.151.33 to DMZ xx.xx.151.34 to NAT 192.168.0.5-10? (Private IP)
or
WAN - xx.xx.151.33 to DMZ xx.xx.151.34 to NAT xx.xx.103.9-15? (Public IP)

Is this possible if you are doing something like 2 web servers on the other side? (As they are both use the same ports?)

Sorry if these are "silly" questions or if I'm missing something. Just trying to figure out how I would go about trying out this NAS/DMZ thing.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Your DMZ will be using private addresses and you use NAT to translate external IP <-> private IP through your firewall. If you don't have enough external IPs for a one-to-one mapping you can use dynamic NAT or PAT to do the translations.

I don't know how the Sonicwall works but with an ASA you can create different address pools to use for your dynamic NAT.

For instance, I've got two different cable connections terminating into two different interfaces on the ASA. One connection is using DHCP and all general internet traffic is sent out that interface, while the other has static IPs that are used with NAT to encrypt certain traffic for IPSEC tunnels as well as providing external access to the DMZ servers.
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Ok, so the NAT is the private address scheme, does that mean when it comes to external sites (the two web servers, a mail server, a couple other servers) that they would all advertise the SAME external IP address?

 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
No, you would use one-to-one NATs for your external-facing services. You could also use PATs if you had two servers with completely separate services and wanted to conserve IP addresses.
 

jlazzaro

Golden Member
May 6, 2004
1,743
0
0
Originally posted by: Xsorovan
Ok, so the NAT is the private address scheme, does that mean when it comes to external sites (the two web servers, a mail server, a couple other servers) that they would all advertise the SAME external IP address?
the servers don't advertise anything...it depends on how you configure the rules and the number of addresses you have available.

if you only have a single IP address, you would need to do NAT based on the port number. so 1.2.3.4:80 would go to DMZ server 10.1.1.1, 1.2.3.4:25 goes to DMZ server 10.1.1.2, etc, etc.

if you have multiple addresses, you can do a one-to-one NAT and just map each public address to the private DMZ address. 1.2.3.4 goes to DMZ server 10.1.1.1, 1.2.3.5 goes to DMZ server 10.1.1.2, etc, etc.

 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Ooookay. I think I am getting it here. 1 external NAT address to 1 internal private IP address?
 

Xsorovan

Senior member
Oct 14, 2002
320
0
0
Thanks everyone who replied to this thread. I got me to where I needed to be! One to One Nat will do the trick. Thanks again everyone. Gold stars all around.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |