Solved

linux firewall configuration

Posted on 2001-07-25
3
163 Views
Last Modified: 2013-11-16
How do you configure a linux firewall if you have a dsl line linked to a external modem and your Lan has two other machines in the network?
(steps would be fine enough)
0
Comment
Question by:shopno
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 6321928
dependeing on kernel version (2.2.x, 2.4.x) use ipchains or iptables. Kernel must be enabled for pcketfiltering.
0
 
LVL 19

Expert Comment

by:jools
ID: 6322167
You would do better to understand the concepts first, check out the howto's and examples. http://www.linuxnewbie.org has some good examples.

There are tools to assist if you really can't be bothered with the finer details but an overview would be.

Make sure your system is networked OK and everything is working.

Identify you kernel rev (see ahoffmann's comment) and make sure the relevant modules are configured into the kernel.

Get a pen and paper and plan your website, what services you want to allow/deny.

Either use a utility to build your ruleset or start making your own remember that ORDER is IMPORTANT.

You've got a lot of reading to do so we may not hear from you for a while... :-)


Jools
0
 
LVL 19

Expert Comment

by:jools
ID: 6323854
Crikey, you sorted that one out quick!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question