HP-UX IPFilter Version A.03.05.14 Administrator's Guide

HP-UX IPFilter Configuration Examples
example.13
Appendix A166
example.13
#
# log all short TCP packets to lan3, with 10.3.3.3 as the
# intended destination for the packet.
#
block in on lan0 to lan3:10.3.3.3 proto tcp all with short
#
# log all connection attempts for TCP
#
pass in on lan0 dup-to lan1:10.3.3.3 proto tcp all flags S/SA
#
# route all UDP packets through transparently.
#
pass in on ppp0 fastroute proto udp all
#
# route all ICMP packets to network 10 out through lan1, to
# 10.3.3.1
#
pass in on lan0 to lan1:10.3.3.1 proto icmp all