LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-07-2007, 01:13 AM   #1
saifurab
Member
 
Registered: Mar 2007
Posts: 30

Rep: Reputation: 15
Firewall for Public IPs Machines


Dear Experts,

I have couple of machines having public IPs on it and running mail, database and IIS servers. I want to get them behind the linux firewall. how can i do that?

Thanks

Saif
 
Old 06-07-2007, 04:52 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Your best bet is to use iptables (part of the kernel). There are many firewall config utilities, including Guarddog and Firestarter which will configure iptables for you.

The fact they have public IP addresses is irrelevant, as the firewall does not know the difference between public and private IP addresses.

Can you provide us with more info, and then we can help more specifically.

--Ian
 
Old 06-07-2007, 04:58 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
well, you could buy a linux router/firewall such as the Linksys WRT54G and then use its simple web interface to set things-up, for example... essentially you'd just need to set it to do port-forwarding (public IP on the router's external side, private IP on the router's internal side, private IPs on all your servers)... but depending on what functionality you expect when you say "firewall", you might be more interested in using a regular PC with multiple NICs as a linux firewall... in that case, your best bet is probably to get started with a specialized linux firewall distro, such as IPCop...
 
Old 06-07-2007, 07:15 AM   #4
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Read up on DMZ's, named after the place in Korea. Basically you setup two firewalls, one between the internet/WAN and your public server and another between your public server and intranet/LAN.
 
Old 06-07-2007, 10:58 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
You can also make a dedicated firewall appliance using SmoothWall Express, IPCop, m0n0wall, etc. These are custom distros designed specifically for this purpose. All you need is a "boat anchor", or perhaps "doorstop", class old machine.

I am running SmoothWall Express on 166 MHz, 96 MiB RAM, 4GB drive. It provides DNS, DHCP, web caching (Squid), as well as intrusion detection, the normal port blocking firewall services, & the DMZ that you probably need.
 
Old 06-07-2007, 11:39 AM   #6
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
You can try to buy one of those:
http://www.linuxdevices.com/news/NS5094510735.html

Never tried, but it looks good and simple!

[]'s, FMC!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
router/firewall for static ips and mult machines racerx7 Linux - Networking 3 07-08-2006 02:38 AM
Firewall - filter for public IPs caremaker Linux - Networking 6 01-09-2004 01:17 PM
Public IPs behind router Buzer Linux - Networking 2 09-20-2003 02:36 PM
Sharing two public IPs. Unseen Linux - Networking 8 03-20-2003 02:17 PM
Linux firewall that supports USB ADSL & multiple public IPs? Smoothieu Linux - Security 1 08-21-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration