vcsa - iptables

I am new to iptables.

I want to open all ports of vcsa (everything ) for few servers. And close any traffic from any other server (only for incoming traffic )

is there any problem with these rules.

iptables -A INPUT -s -p all -j ACCEPT  # this will open everything from .12

iptables -A INPUT -s -p all -j ACCEPT

<few more servers......>

iptables -A INPUT -j DROP # drop everything

any suggestion.

0 Kudos
0 Replies