All,
I’m seeing the below message when I try to run " sudo iptables -A INPUT -p tcp --8082 -s 172.16.238.14 -j ACCEPT"
Here are the steps I implemented on all three apps ( stapp01, stapp02, stapp03)
sudo yum install –y iptables-services
systemctl enable iptables
systemctl enable ip6tables
sudo systemctl start iptables
sudo systemctl start ip6tables
tony@stapp01 ~]$ sudo iptables -A INPUT -p tcp --8082 -s 172.16.238.14 -j ACCEPT
iptables v1.4.21: unknown option “–8082”
Try `iptables -h’ or ‘iptables --help’ for more information.
Appreciate your quick response.
Thanks,
Santhosh