Linux Netfilter discussions
 help / color / mirror / Atom feed
* INET_IFACE: Secure to allow traffic from 192.168.x.0/24?
@ 2004-03-04 12:29 Carsten Maass
  2004-03-05  1:29 ` Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Maass @ 2004-03-04 12:29 UTC (permalink / raw)
  To: netfilter

Dear List,

recently i connected together two internal networks over an IPSec-tunnel:

(Localnet A)---(Gateway A)==IPSec==(Gateway B)---(Localnet B)

Now i am unsure which iptables-rules i should apply to the external 
interfaces of the gateways to match the traffic between the Localnets 
without opening up a security hole. Is it sufficient to simply apply 
some general rules like:

$IPTABLES -A FORWARD -i $INET_IFACE -s 192.168.a.0/24 -j ACCEPT
$IPTABLES -A FORWARD -i $INET_IFACE -s 192.168.b.0/24 -j ACCEPT

or would this approach be vulnerable to some kind of IP-spoofing attack? 
What would be your solutions in this situation?

Thanks for your help,
Carsten.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-05 11:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-04 12:29 INET_IFACE: Secure to allow traffic from 192.168.x.0/24? Carsten Maass
2004-03-05  1:29 ` Antony Stone
2004-03-05 11:28   ` Carsten Maass
2004-03-05 11:40     ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox