Santiago Zarate wrote:
> Actually, i have a server (Which is the router and firewall, it has
> two ips 192.168.1.1 and 192.168.0.1), but we have another server which
> we want to use as Proxy (Its ip is 192.168.1.10) .
> 
> Problem is that when i come with:
> 
> REDIRECT loc:192.168.1.0/16 192.168.1.10:3128     tcp   3128
> 
> but Shorewall always replies with:
> ERROR: REDIRECT rules cannot  specify a server IP; rule: "REDIRECT
> loc:192.168.1.0/16 192.168.1.10:3128 tcp 3128"
> 
> Anyone can give me a hint?

Shorewall FAQ #1.

You want to do DNAT, not REDIRECT.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to