User Tools

Site Tools


ipfw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ipfw [2009/07/15 03:22]
k2patel created
ipfw [2020/08/10 02:35]
Line 1: Line 1:
-====== IpFw ====== 
  
-Simple but nice firewall. 
- 
-==== How to create forward for port ==== 
- 
-Rule below forward request to 5111 to port 232 
-<code bash> 
-ipfw add fwd localhost,​5111 tcp from any to any 232 via en0 
-</​code>​ 
- 
-==== Diverting port using snort ==== 
-Rule below will divert the traffic from one port to another.\ 
-<code bash> 
-ipfw add 0010 divert 8080 tcp from any to any 80 
-</​code>​ 
-NOTE : sysctl net.link.ether.bridge_ipfw=1 ​  (this value enable the snort) 
ipfw.txt ยท Last modified: 2020/08/10 02:35 (external edit)