Hi,
I'm new to setting up a iptables firewall. I want to accept e-mail from a certain ip range only.
My rules are:
iptables -A INPUT -s 1.2.3.4/20 -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP
Error Msg:
Applying iptables firewall rules: Bad argument `tcp'
Error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.