Posted on February 21, 2023 by nexonhost
Steps to Allow incoming and outgoing connection in IPtables Firewall is given below.
iptables -A INPUT -s IPADDRESS -j ACCEPT
to whitelist/Allow the IP address
service iptables save
iptables -A OUTPUT -d IPADDRESS -j ACCEPT
to whitelist Outgoing connections
to save the IPtables rules.