Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

https://help.ubuntu.com/community/Router/Firewall

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
add comment

1 Answer

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:

https://help.ubuntu.com/community/IptablesHowTo#Solution%20#1%20-%20/etc/network/interfaces

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

Your Answer

 
discard

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.