Return to example.10 CVS log | Up to [local] / src / share / ipf |
File: [local] / src / share / ipf / Attic / example.10 (download)
Revision 1.1, Tue Jan 9 09:29:34 1996 UTC (28 years, 4 months ago) by dm
added IP filter to netstat/rc and put examples in /usr/share/ipf |
# # pass ack packets (ie established connection) # pass in proto tcp 10.1.0.0/16 port = 23 10.2.0.0/16 flags A/A pass out proto tcp 10.1.0.0/16 port = 23 10.2.0.0/16 flags A/A # # block incoming connection requests to my internal network from the big bad # internet. # block in on le0 proto tcp from any to 10.1.0.0/16 flags S/SA # to block the replies: block out on le0 proto tcp from 10.1.0.0 to any flags SA/SA