LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2003, 07:16 AM   #1
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65

Rep: Reputation: 15
scripts howto???


guyz, i've found this interesting but i don't know about script..
ok after downloading this text files ...whats next? where to put this simple firewall scripts???

# http://www.linuxguruz.com/iptables/s...c.firewall.txt

another one is to restart/flush the firewall.... whats next? how to use this and where to put?

# http://www.linuxguruz.com/iptables/s...h-iptables.txt

hope some inputs here... thanks
 
Old 08-21-2003, 08:09 AM   #2
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Hi Kent Ernia!

These are not really text files. These are scripts, i.e. executables. But, in order to allow them to execute, you have to change the permission of the file first!
Here's how it goes:
> chmod 751 rc.firewall
> chmod 751 rc.flush-iptables
BTW, I personnally suggest you to rename the files from *.txt to * , in order to keep track that they are not text files!

To use them, simply type:
> ./rc.firewall
> ./rc.flush-iptables
in the directory where the files are and it will execute.

For the question of where to put them, well, this I don't know. There must be some documentation on this website, but I am really not an expert in firewall!

Hope this helps!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 12:10 PM
Scripts oldstinkyfish Linux - Software 2 06-02-2005 12:33 AM
Need help running scripts from scripts sdouble Linux - Newbie 3 05-31-2004 12:56 PM
Howto convert Gentoo wlan scripts to Debian? Naughtyus Debian 1 02-25-2004 03:55 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration