>> #ACTION         SOURCE          DEST            PROTO   DEST    SOURCE       
>>    ORIGINAL        RATE        USER/
>> #                                                       PORT    PORT(S)      
>>    DEST            LIMIT       GROUP
>> REDIRECT        loc          80              tcp     -       8080            
>> 192.168.1.1
>> 
>> It doesn't work.
>
>You have the 8080 in the wrong column.
>
>-Tom
Tom, thanks for the reply.

Please allow me to have another go at this.

So I want to be able to point my browser at my proxy ($FW, port 8080) to get 
Internet, but still be able to get local http ($FW, port 80).  I tried this in 
my rules:
        REDIRECT       loc     80      tcp     8080    -       192.168.1.1
This redirects all traffic from 8080 to 80, not just the traffic that whose 
destination is 192.168.1.1.  That is, all Internet traffic gets redirected to 
port 80 on the firewall.  I can't see anything in REDIRECT that can be used to 
redirect local (loc) traffic, but not Internet (net) traffic.  Should I be 
using REDIRECT, or something different/completely different?

Regards

Fog_Watch.

-------------------------------------------------------------------------
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
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to