Reinhard Schretzmayer
2005-Feb-01 06:25 UTC
Shorewall configuration - ''run_iptables''-problem
[This email is either empty or too large to be displayed at this time]
Reinhard Schretzmayer wrote:> _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: https://lists.shorewall.net/mailman/listinfo/shorewall-users > Support: http://www.shorewall.net/support.htm > FAQ: http://www.shorewall.net/FAQ.htmPlease post in plain text -- otherwise, the Mailman HTML->TEXT translator may fail and your message will not be delivered. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Reinhard Schretzmayer
2005-Feb-01 20:52 UTC
Shorewall configuration - ''run_iptables''-problem
>> If you are not subscribed to the list, please say so -- otherwise,you will not be included in any replies. I''m not subscribed in the mailing list - please answer directly - many thanks :-). ----------------------------------------- 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: +------------------- /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 Shorewall-2.2.0 Status at centserver - Mon Jän 31 20:03:13 CET 2005 Chain INPUT (policy ACCEPT 697K packets, 99M bytes) pkts bytes target prot opt in out source destination ... ... +------------------- Although I have downloaded the two-interface-sample-files under linux and I did (as precaution) edit ''shorewall.conf'' with ''dos2unix'' - no success. Why do I get the ''run_iptables''-error? Thx and best regards, Reinhard Vienna / Austria / Europe
I had something similar with the 2.2 RedHat RPM on FC3 and slowly realized that I didn''t have a ''which'' RPM installed? You might try to check for it...otherwise look at the functions, firewall scripts for that function (run_iptables) and you might see the problem. BTW it should be a dependency in that version of the RPM IMO. Jeff ----- Original Message ----- From: "Reinhard Schretzmayer" <reinhard1607.schretz@aon.at> To: <shorewall-users@lists.shorewall.net> Sent: Tuesday, February 01, 2005 3:52 PM Subject: [Shorewall-users] Shorewall configuration - ''run_iptables''-problem> > >> If you are not subscribed to the list, please say so -- otherwise, > you will not be included in any replies. > > I''m not subscribed in the mailing list - please answer directly - many > thanks :-). > > ----------------------------------------- > > 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: > > +------------------- > /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 > Shorewall-2.2.0 Status at centserver - Mon Jän 31 20:03:13 CET 2005 > > Chain INPUT (policy ACCEPT 697K packets, 99M bytes) > pkts bytes target prot opt in out source destination > ... > ... > +------------------- > > Although I have downloaded the two-interface-sample-files under linux > and I did (as precaution) edit ''shorewall.conf'' with ''dos2unix'' - no > success. > > Why do I get the ''run_iptables''-error? > > Thx and best regards, > Reinhard > Vienna / Austria / Europe > > > > > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:https://lists.shorewall.net/mailman/listinfo/shorewall-users> Support: http://www.shorewall.net/support.htm > FAQ: http://www.shorewall.net/FAQ.htm >
Reinhard Schretzmayer wrote:> >>> If you are not subscribed to the list, please say so -- otherwise, > you will not be included in any replies. > > I''m not subscribed in the mailing list - please answer directly - many > thanks :-). > > ----------------------------------------- > > 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: > > +------------------- > /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 > Shorewall-2.2.0 Status at centserver - Mon Jän 31 20:03:13 CET 2005 > > Chain INPUT (policy ACCEPT 697K packets, 99M bytes) > pkts bytes target prot opt in out source destination > ... > ... > +------------------- > > Although I have downloaded the two-interface-sample-files under linux > and I did (as precaution) edit ''shorewall.conf'' with ''dos2unix'' - no > success. > > Why do I get the ''run_iptables''-error? >Please follow the instructions at http://shorewall.net/troubleshoot.htm under the heading: "shorewall start" and "shorewall restart" errors -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
> I had something similar with the 2.2 RedHat RPM on FC3 and slowly realized > that I didn''t have a ''which'' RPM installed? You might try to check for > it...otherwise look at the functions, firewall scripts for that function > (run_iptables) and you might see the problem. > > BTW it should be a dependency in that version of the RPM IMO.I''ve updated the RedHat/Fedora rpms for 2.0.16 and 2.2.0 to include the which dependency. They are available from the usual place at: http://www.invoca.ch/pub/packages/shorewall/ Regards, Simon> > Jeff > ----- Original Message ----- > From: "Reinhard Schretzmayer" <reinhard1607.schretz@aon.at> > To: <shorewall-users@lists.shorewall.net> > Sent: Tuesday, February 01, 2005 3:52 PM > Subject: [Shorewall-users] Shorewall configuration - > ''run_iptables''-problem > > >> >> >> If you are not subscribed to the list, please say so -- otherwise, >> you will not be included in any replies. >> >> I''m not subscribed in the mailing list - please answer directly - many >> thanks :-). >> >> ----------------------------------------- >> >> 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: >> >> +------------------- >> /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 >> Shorewall-2.2.0 Status at centserver - Mon Jän 31 20:03:13 CET 2005 >> >> Chain INPUT (policy ACCEPT 697K packets, 99M bytes) >> pkts bytes target prot opt in out source destination >> ... >> ... >> +------------------- >> >> Although I have downloaded the two-interface-sample-files under linux >> and I did (as precaution) edit ''shorewall.conf'' with ''dos2unix'' - no >> success. >> >> Why do I get the ''run_iptables''-error? >> >> Thx and best regards, >> Reinhard >> Vienna / Austria / Europe >> >> >> >> >> >> _______________________________________________ >> Shorewall-users mailing list >> Post: Shorewall-users@lists.shorewall.net >> Subscribe/Unsubscribe: > https://lists.shorewall.net/mailman/listinfo/shorewall-users >> Support: http://www.shorewall.net/support.htm >> FAQ: http://www.shorewall.net/FAQ.htm >> > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: > https://lists.shorewall.net/mailman/listinfo/shorewall-users > Support: http://www.shorewall.net/support.htm > FAQ: http://www.shorewall.net/FAQ.htm > >