LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-29-2005, 07:05 AM   #1
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
iptables startup script


Hi to all,

I wanted to know abt what we actually need to start iptables service on a
PC. Do we have to write startup or initialisation scripts?

If yes, can I have a sample of these scripts?

Thx in advance..

Regards,
Visham
 
Old 04-29-2005, 07:56 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
if you already have a firewal, you can put a line it /etc/init.d/local.start.
 
Old 04-29-2005, 08:41 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Re: iptables startup script

Quote:
Originally posted by vishamr2000
can I have a sample of these scripts?
you can find several example scripts here:

http://www.linuxguruz.com/iptables/

Quote:
Originally posted by musicman_ace
if you already have a firewal, you can put a line it /etc/init.d/local.start.
wouldn't that make it get executed way after the network is started and daemons are run??

Last edited by win32sux; 04-29-2005 at 08:42 AM.
 
Old 04-29-2005, 09:21 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
if you are using a 2.4 kernel, can use this iptables firewall generator to generate a script:
http://easyfwgen.morizot.net/gen/index.php
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem loading iptables script on startup manicajk Linux - General 8 04-12-2009 12:37 PM
IPtables startup script - Fedora Nickj Linux - Security 2 07-29-2005 09:45 AM
iptables startup script mushmaster Linux - General 12 02-25-2005 01:32 PM
startup script to set up iptables rules doesn't run alexfittyfives Debian 2 06-01-2004 08:21 PM
autostart iptables script on system startup step Linux - Networking 2 03-21-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration