Discussion Locked

How to set up Linux box as a firewall

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you set up a Linux box as a firewall, say for a home network connected to the internet?

1 reply

by pern

Hi,
You can make use of the command "ipchains"

example:
ipchains -A input -i eth1 -s 166.13.0.0/16 -j reject
ipchains -A input -d 192.168.5.1 25 -j accept
ipchains -A input -d 192.168.5.5 80 -j accept

or u can make use of some third party firewall packages.

This discussion is closed to new replies.