On Wed, Nov 21, 2007 at 08:31:15PM +0100, Stéphane Gully wrote: > > > You just need this rule: > > > > > > REDIRECT net 40240 tcp 80 - 87.145.23.55 > Thank you! > This rule didn't worked for me because these two rules were applied > before the REDIRECT: > HTTP/ACCEPT net $FW > HTTPS/ACCEPT net $FW > I just moved both ACCEPT after the REDIRECT and it works well ! > (I need these two rules to accept http/https connections coming from other ip) > Just realize that all if you are doing name based virtualhosts, then anything listening on port 80 will no longer be accessible.
> > Roberto, it's funny because I'm going to setup a reverse proxy as you > explained above on the 40240 port. > Why ? because I need to run the reverse proxy with a non-root user > (it's easier to administer the server). > However thank you for your great suggestion. > No problem. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users