ipfw
This is an old revision of the document!
Table of Contents
IpFw
Simple but nice firewall.
How to create forward for port
Rule below forward request to 5111 to port 232
ipfw add fwd localhost,5111 tcp from any to any 232 via en0
Diverting port using snort
Rule below will divert the traffic from one port to another.\
ipfw add 0010 divert 8080 tcp from any to any 80
NOTE : sysctl net.link.ether.bridge_ipfw=1 (this value enable the snort)
ipfw.1247628138.txt.gz · Last modified: 2020/08/10 02:30 (external edit)