OpenBSD
pf
Warning: I'm no expert on networks or packet filtering, but everything listed below works for me.
Sony Playstation 3
You need to open some ports to reach the coveted "Type-2" NAT mode.
Add these to your /etc/pf.conf
ps3=192.168.1.100"
# PS3
# Use this TCP port for Remote Play
ps3_tcp="9293"
# Use these UDP ports for only 3478 is needed but i put 3479 too
ps3_udp="{ 3478,3479,3658 }"
# PS3 route NAT traffic
nat on $ext_if from $ps3 to any -> ($ext_if) static-port
# PS3 Redirect UDP port traffic to PS3 IP
rdr on $ext_if proto udp from any to any port $ps3_udp -> $ps3
# Allow traffic in for those UDP ports and label
pass in on $ext_if inet proto udp from any to $ps3 port $ps3_udp keep state label "ps3"
See Blocked SSH Attempts
$ pfctl -t ssh-bruteforce -Tshow
Watch ALTQ
$ pfctl -vvsq
# Print labels
# label, evaluations,
# packets total,
# bytes total,
# packets in,
# bytes in,
# packets out,
# bytes out
$ pfctl -sl