Feeds:
Posts
Comments

Posts Tagged ‘firewall’

As I mentioned before, in Linux, it is very simple to setup your own personal firewall. In fact, it is so simple, that you only need about one minute (depending on how fast you can use your keyboard).

All you need to do is write the following script:

#!/bin/bash
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

That’s all! This mini-script will block everything (from the outside), except the connections you have started yourself. You may need to setup a few environment parameters first and make sure your have a fresh iptables installation (no rules already installed).

Check out a few links with little advanced versions of a basic personal firewall and some future explanations:

Read Full Post »