Need to translate IPFW rules to IPTABLES rules

The following is a rule snippet for IPFW firewall. Can anyone please tell me, if I use IPTABLES (instead of IPFW), how should I write the following rules in IPTABLES? Also, When writing the rules for IPTABLES, please keep in mind that we should be able to quickly delete this snippet from the firewall WITHOUT affecting anything else (like in IPFW: ipfw del 20).

****** IPFW rule snippet ******************************
ipfw -q pipe 100 config bw 64Kbit/s queue 20
ipfw -q add 20 pipe 100 tcp from any to 1.2.3.4 80,443 setup in
ipfw -q add 20 pipe 100 tcp from any to 1.2.3.4 80,443 established in
****************************************************

Any help will be greatly appreciated. Thanks in advance.

 

 

 

 

Top