What does this iptables command do?

Discussion in 'Programming' started by andrew28, May 30, 2016.

  1. Can I have an explanation of all the flags of
    Code (Text):

    iptables -I INPUT 1 -i eth0 -p tcp --dport 25565 -j ACCEPT
     
    I found it one day to allow ports through iptables when other commands didn't work for me. I don't know how it works but I've always kept it handy.