Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone have a good readme or anything regarding my upcoming question.
I would like to setup a firewall that would protect 8 internal pc's.
But I would also like to assign those 8 pc's their own public IP.
I've already got the 8 ip's, and a 2.3 SDSL connection.
But I've never configured a redhat box to do this.
These GUIs does a sloppy job at my opinion.
Nothing is better than a hand made iptables script.
I suggest you to use nmap to find what ports are open on your box then to use iptables to close useless one.
`man iptables` should give you some good info.
but the best way to start is to examine someone else script, I think.
FYI- you will most likely only need 2 NIC's on that box. One will be the gateway from your internal network out thru the firewall. The other will be your WAN interface to the SDSL connection. This NIC can have multiple VIP's. Individual NIC's looks cool but VIP's are cheaper. =)
I am not sure of precisely what you intend to accomplish here. Do you mean that you have 8 PC's and a separate (9th PC) firewall, or do have 8 PC's, with one acting as the firewall? If the former, and you are hard-set on giving each box a Public IP, I would suggest that you set up an Invisible OpenBSD Firewall. This could probably be done with Linux, but I am unsure as how to do that. Also, this would eat up a computer that could not access/be accessed from the Internet at all, all comms to the FW Box could only be on the ARP level.
Otherwise, drop 7 of the IP's, and set up IPMasq/Nat on the FW box, and give the rest of the boxes a Private IP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.