Arif Mahmood
2002-Oct-03 18:46 UTC
[Shorewall-users] Pls help to set the firewall and understand the IP LAYOUT
Hi Everyone,
I have got confused to lay out the IP addresses, I hope you guys will
help me to get that cleared. I''m new to Linux and wanted to use Linux
as
Firewall and then later as web server.
I have 8 public IP addresses from my ISP 1 is occupied by the router and
one is broadcast and one is network. I got left 5 to use. Range
x.x.201.152 to x.x.201.158 Available to use x.x.201.154 to x.x.201.157
A this time I have following setting and working perfectly without any
firewall Current setting, are W2K servers.
x.x.201.154 Web Server (Hosting 12 web site)
x.x.201.155 DNS 1 (Local DNS but open to Public)
x.x.201.156 is free
x.x.201.157 is free
x.x.153
----ISP Router/Gateway->--------HUB---->- Servers (.154,155,156)
I have Linux machine RH 7.3, I want to put this machine between router
and Hub.
Pls help how do I set my IP addresses to Linux box so it will translate
to the DNS and Web server and provide services to public.
Thanks and Best Regards,
Arif
Tom Eastep
2002-Oct-03 18:55 UTC
[Shorewall-users] Pls help to set the firewall and understand the IP LAYOUT
Arif Mahmood wrote:> Hi Everyone, > > I have got confused to lay out the IP addresses, I hope you guys will > help me to get that cleared. I''m new to Linux and wanted to use Linux as > Firewall and then later as web server. > > I have 8 public IP addresses from my ISP 1 is occupied by the router and > one is broadcast and one is network. I got left 5 to use. Range > x.x.201.152 to x.x.201.158 Available to use x.x.201.154 to x.x.201.157 > > A this time I have following setting and working perfectly without any > firewall Current setting, are W2K servers. > > x.x.201.154 Web Server (Hosting 12 web site) > x.x.201.155 DNS 1 (Local DNS but open to Public) > x.x.201.156 is free > x.x.201.157 is free > > x.x.153 > ----ISP Router/Gateway->--------HUB---->- Servers (.154,155,156) > > I have Linux machine RH 7.3, I want to put this machine between router > and Hub. > Pls help how do I set my IP addresses to Linux box so it will translate > to the DNS and Web server and provide services to public.Please read http://www.shorewall.net/shorewall_setup_guide.htm then post again if you have specific questions. That guide deals with setups very much like yours. -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \ teastep@shorewall.net