Currently I am running shorewall and some other custom firewall scripts (mac and time based - cant seem to work time matching in shorewall). Is there a way to see the rules that shorewall outputs to iptables, for example show all the current rules in the actual iptables format? Kind Regards William ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Hi I have been using Shorewall for a while now and find it very useful and easy to configure, I am learning iptables and having trouble getting the bridge to successfully work with squid, although I get it working with Shorewall straight away? Was wondering what iptables rule does Shorewall use to make a transparent bridge work? I have tried using the following with no success? iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 3128 echo 1 > /proc/sys/net/ipv4/ip_forward kind regards william _____ From: shorewall-users-bounces@lists.sourceforge.net [mailto:shorewall-users-bounces@lists.sourceforge.net] On Behalf Of William Bohannan Sent: 10 July 2006 11:39 To: shorewall-users@lists.sourceforge.net Subject: [Shorewall-users] rules output - display Currently I am running shorewall and some other custom firewall scripts (mac and time based - cant seem to work time matching in shorewall). Is there a way to see the rules that shorewall outputs to iptables, for example show all the current rules in the actual iptables format? Kind Regards William ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
William Bohannan wrote:> > > Currently I am running shorewall and some other custom firewall scripts (mac > and time based - cant seem to work time matching in shorewall). Is there a > way to see the rules that shorewall outputs to iptables,I recommend that you install Shorewall 3.2.1. You can ''compile'' your ruleset and study the generated shell script. -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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
yes.upgrade to the latest stable release and you should read http://www.shorewall.net/bridge.html and http://www.shorewall.net/Shorewall_Squid_Usage.html. hope these helps... On 7/22/06, William Bohannan <william.bohannan@spidersat.net> wrote:> > > > > Hi I have been using Shorewall for a while now and find it very useful and > easy to configure, I am learning iptables and having trouble getting the > bridge to successfully work with squid, although I get it working with > Shorewall straight away? Was wondering what iptables rule does Shorewall > use to make a transparent bridge work? I have tried using the following with > no success? > > > > iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port > 3128 > > echo 1 > /proc/sys/net/ipv4/ip_forward > > > > kind regards > > william > > > > ________________________________ > > > From: shorewall-users-bounces@lists.sourceforge.net > [mailto:shorewall-users-bounces@lists.sourceforge.net] On > Behalf Of William Bohannan > Sent: 10 July 2006 11:39 > To: shorewall-users@lists.sourceforge.net > Subject: [Shorewall-users] rules output - display > > > > > Currently I am running shorewall and some other custom firewall scripts (mac > and time based – cant seem to work time matching in shorewall). Is there a > way to see the rules that shorewall outputs to iptables, for example show > all the current rules in the actual iptables format? > > > > Kind Regards > > > > William > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net''s Techsay panel and you''ll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > >-- Regards, Wong Chee Chun Network Engineer Softmy Co. Ltd (http://www.softmy.com) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net''s Techsay panel and you''ll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV