xref: /onnv-gate/usr/src/cmd/ipf/examples/server (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#
2*0Sstevel@tonic-gate# For a network server, which has two interfaces, 128.1.40.1 (le0) and
3*0Sstevel@tonic-gate# 128.1.2.1 (le1), we want to block all IP spoofing attacks.  le1 is
4*0Sstevel@tonic-gate# connected to the majority of the network, whilst le0 is connected to a
5*0Sstevel@tonic-gate# leaf subnet.  We're not concerned about filtering individual services
6*0Sstevel@tonic-gate# or
7*0Sstevel@tonic-gate#
8*0Sstevel@tonic-gatepass in quick on le0 from 128.1.40.0/24 to any
9*0Sstevel@tonic-gateblock in log quick on le0 from any to any
10*0Sstevel@tonic-gateblock in log quick on le1 from 128.1.1.0/24 to any
11*0Sstevel@tonic-gatepass in quick on le1 from any to any
12