Re: server in DMZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-09-01 at 23:51, Payal Rathod wrote:
> On Wed, Sep 01, 2004 at 11:24:41PM -0400, Jason Opperisano wrote:
> > i can simplify it to:
> > 
> >   -A FORWARD -p tcp -s 1.2.3.4 -d 10.10.10.3 --dport 80 -j ACCEPT
> 
> Ok easy enough I guess :)
> 
> > > it will block access from my local LAN also via. the squid proxy and yes 
> > > the gateway (squid proxy) machine does have 3 cards.
> > 
> > yes--you're probably right that it would break access from the local LAN
> > in your current configuration
> 
> So, what do I do for such a case?
> 
> -Payal
I think you have confused the issues.  Do not put the source match in
the PREROUTING rule (thus your squid access from the local LAN will not
break).  Do put the source match in the FORWARD rule.  That will
restrict outside access to only 1.2.3.4.  I assume there is already a
FORWARD rule that allows access from the LAN.  Hope this helps - John
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@xxxxxxxxxxxxx
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux