Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the link above there is a firewall script described. How can I install this script in Ubuntu 10.0.4 desktop?

share|improve this question
IPTables is already in ubuntu 10.04. Try "iptables" from command line. – Chris Sep 4 '10 at 11:51
your question is appropriate for both SU and SF, but don't post it to both unless you've had no reply for a while (more than a few hours), and if you do, link to the original. – Gilles Sep 4 '10 at 13:49
up vote 0 down vote accepted

A hacky way to do it would be to place the script somewhere on the file system and then run it from /etc/init.d/rc.local.

Usually I manage Ubuntu firewalls with an iptables script in /etc, and then add something as outlined here:

share|improve this answer
do you use NetworkManager to run the iptables scripts? – Michael Sep 4 '10 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.