-1

I have an iptables rule in the FORWARD section that looks like this:

17       0     0 CONFIRMED  tcp  --  *      *       0.0.0.0/0            172.16.30.240       tcp spt:587 dpt:587 ctorigdst 24.103.190.234 

What command would I need to run to create that rule?

0

Executing iptables-save will dump your current iptables ruleset to stdout, in turn showing you the commands used to create your firewall ruleset, minus the iptables command

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.