Jump to content

The Terminal


sulhaq
 Share

4 posts in this topic

Recommended Posts

Hello. I'm trying to use the "iptables" command in terminal in leopard. It keeps saying "command not found" to me. I'm not much good at the UNIX command line could someone help please? This is the command i'm using:

 

"iptables -A INPUT -p tcp –dport $PORT –tcp-flags RST RST -j DROP

Link to comment
Share on other sites

Can someone provide me a command that would be equivalent to the "iptables" command I posted but using "ipfw" instead please?

 

EDIT: I found a command for ipfw. Would this work? "ipfw add drop tcp src-port (port_name) tcpflags rst"

 

However when I run this terminal tells me ipfw: missing ``from''

Link to comment
Share on other sites

 Share

×
×
  • Create New...