Hi smart people,I am quite new to iptables.How do i add a rule to allow only traffic from the 172.16.0 network through on port 7210. also get it to specify an interface too.
I really appreciate it urgently
iptables -A chain Linux firewall-rule
Also I would suggest to pay attention at Shorewall, which is great firewall generator for Iptables which allows advanced configuration with simple configuration files. It is available from the Ubuntu repositories via apt-get. If you are looking for a exceptional GUI to configure Iptables, Firestarter is a solution. However, Firestarter conflicts with ufw. Iptables tutorials for professionals.
iptables -A chain firewall-rule
Give this article a browse as it covers what you are trying to do.