LinuxQuestions.org
Help answer threads with 0 replies.
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 01-27-2006, 09:29 AM   #1
rob_xx17
Member
 
Registered: Jan 2004
Location: USA
Distribution: SuSE
Posts: 54

Rep: Reputation: 15
iptables script generated by bastille


Hey all.

I'm running SuSE 9.3 as a server. It runs great with no problems. I hardened it using Bastille. What I want to do is customize the 'iptables' script generated by Bastille; I want to include some things that Bastille didn't. Does anybody know where the script is or where I can find it? Thanks.

r.
 
Old 01-29-2006, 06:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
Check the contents of your RPM. If it's a file or generated after running Bastille it'll probably be in /etc/Bastille.
Else you could iptables-save > /some/dir/file and have that executed by the "regular" firewall service.
 
Old 01-31-2006, 01:46 PM   #3
rob_xx17
Member
 
Registered: Jan 2004
Location: USA
Distribution: SuSE
Posts: 54

Original Poster
Rep: Reputation: 15
thanks,

how do I have that file saved with 'iptables-save' executed by the "regular" firewall service? Thanks.

r.
 
Old 01-31-2006, 06:02 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
Lame excuse, but I don't know how it's done in SuSE. Basically, if you do iptables-save > /some/dir/some/file, then edit the file, save then cat /some/dir/some/file | iptables-restore this *should* work. If it doesn't and none of the SuSE guru's drop by, you're not out of options. You could check your SuSE docs, search LQ or post in our SuSE forum, etc, etc.
 
  


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
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 04:19 AM
iptables script tomsasse Linux - Networking 3 09-17-2005 05:25 PM
iptables script BACTRATE Mandriva 1 06-24-2004 05:34 AM
Snort, prelude, fwbuilder, bastille or iptables ? christophe.dr Linux - Security 5 10-28-2003 01:59 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

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

All times are GMT -5. The time now is 02:58 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
Open Source Consulting | Domain Registration