Re: local nets
From: david (damo@damo.dk)
Date: 11/29/02
- Next message: B. Joshua Rosen: "Re: What are the dangers of having a Webserver?"
- Previous message: David: "Re: who owns IP"
- In reply to: Lew Pitcher: "Re: local nets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "david" <damo@damo.dk> Date: Fri, 29 Nov 2002 17:56:12 +0100
thanks my friend, that solved it :-)
"Lew Pitcher" <Lew_Pitcher@td.com> skrev i en meddelelse
news:3de794db.245918862@news21.on.aibn.com...
> On Fri, 29 Nov 2002 17:14:57 +0100, in comp.os.linux.security, "david"
> <damo@damo.dk> wrote:
>
> >I use slackware 8,1 with kernel 2.4.18 and iptables
> >
> >David
> >
> >"Simon Morris" <simon.morris@PenguinIT.com.SPAMTRAP> skrev i en
meddelelse
> >news:pan.2002.11.29.12.14.19.986473@PenguinIT.com.SPAMTRAP...
> >> On Fri, 29 Nov 2002 09:31:31 +0100, david wrote:
> >>
> >> > hi, i have a linux box with 3 networks on!
> >> >
> >> > eth0 connected to internet
> >> > eth1 local network 192.168.1.0/24
> >> > eth2 local network 192.168.0.0/24
> >> >
> >> > i masq both local nets through eth0, and it works fine.
> >> >
> >> > but now i need to block traffic between the 2 local network.
> >> > can anybody point me in right direction, it would be apreciatet.
>
> You will need to add some rules to the FORWARD table, to block TCP and UDP
> forwarding between the two networks
>
> - DROP all TCP FORWARDED from SOURCE 192.168.1.0/24 to DEST 192.168.0.0/24
> - DROP all UDP FORWARDED from SOURCE 192.168.1.0/24 to DEST 192.168.0.0/24
> - DROP all ICMP FORWARDED from SOURCE 192.168.1.0/24 to DEST
192.168.0.0/24
> - DROP all TCP FORWARDED from SOURCE 192.168.0.0/24 to DEST 192.168.1.0/24
> - DROP all UDP FORWARDED from SOURCE 192.168.0.0/24 to DEST 192.168.1.0/24
> - DROP all ICMP FORWARDED from SOURCE 192.168.0.0/24 to DEST
192.168.1.0/24
>
> (you could also drop by interface)
>
>
>
> Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank
Financial Group
> (Lew_Pitcher@td.com)
>
> (Opinions expressed are my own, not my employer's.)
- Next message: B. Joshua Rosen: "Re: What are the dangers of having a Webserver?"
- Previous message: David: "Re: who owns IP"
- In reply to: Lew Pitcher: "Re: local nets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|