LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-30-2005, 07:11 AM   #1
Quintus14
LQ Newbie
 
Registered: Jan 2005
Location: Austria / Europe
Posts: 3

Rep: Reputation: 0
Shorewall configuration ('run_iptables' - problem)


Hi,

I want to configure a shorewall on a new CentOS-(4.0beta-)server - I do have the shorewall-configuration-files of my old (Debian-)server and I have downloaded and installed the actual version of shorewall (2.2.0).

I think I did have done all, which I did 2 years ago on the old server....

... but the shorewall does not start:
Quote:
/etc/shorewall/shorewall.conf: line 13: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 14: run_iptables: command not found

What is wrong with the command 'run_iptables'?

Thx
Quintus
(Linux-(nearly-)Newbee)
 
Old 01-31-2005, 11:12 AM   #2
Quintus14
LQ Newbie
 
Registered: Jan 2005
Location: Austria / Europe
Posts: 3

Original Poster
Rep: Reputation: 0
This ist the output from the log:
Quote:
/etc/shorewall/shorewall.conf: line 13: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 14: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 15: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 16: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 17: run_iptables: command not found
/etc/shorewall/shorewall.conf: line 18: run_iptables: command not found
/usr/sbin/shorewall: line 838: /usr/share/shorewall/firewall: Keine Berechtigung (= no authorisation)
/usr/sbin/shorewall: line 838: exec: /usr/share/shorewall/firewall: cannot execute: Keine Berechtigung (= no authorisation)

Nobody any idea....?

Thx,
Quintus

Last edited by Quintus14; 01-31-2005 at 11:13 AM.
 
Old 02-03-2005, 05:57 AM   #3
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
wow

try on giptables.org - great, not sure if u need that shorewall I'm having many troubles unistalling it after I tested it.. now it's a total mess - the shorewall also if you really need shorewall maybe webmin can help to sort out problems regarding sw

Last edited by johnnydangerous; 02-03-2005 at 06:00 AM.
 
Old 02-03-2005, 08:16 AM   #4
Quintus14
LQ Newbie
 
Registered: Jan 2005
Location: Austria / Europe
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

FYI - we found a solution:

1.) on the CentOS-installation is no command 'run_iptables' present (nobody knows why) - replacing the command 'run_iptables' with 'iptables' in the shorewall.conf did solve this problem.

2.) setting '/usr/share/shorewall/firewall' with chmod to 755 did solve the 'cannot execute'-problem.

Thanks - it's running now

Regards, Quintus14
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
Problem w/Shorewall? eroica Linux - Security 6 12-02-2006 06:37 PM
shorewall problem sanjibgupta Linux - Security 2 12-02-2006 06:24 PM
Shorewall configuration question nazs Linux - Security 1 11-08-2005 04:55 PM
shorewall problem fazz Slackware 4 04-26-2004 11:17 AM

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

All times are GMT -5. The time now is 11:25 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