I have two interfaces in my CentOS-7 VPS. I want to allow all access to one interface(eth1, that is my private network). I'd change zone of eth1 to home how can i add a rule to allow everything on that interface ??
I have two interfaces in my CentOS-7 VPS. I want to allow all access to one interface(eth1, that is my private network). I'd change zone of eth1 to home how can i add a rule to allow everything on that interface ??
The natural way is setting the right target to your zone:
Set the target of a permanent zone. target is one of: default, ACCEPT, DROP, %%REJECT%%
You can use Rich Rule concept of
firewalld
for this. Try following rule :-Check your rule :-
firewall-cmd --list-all --zone=home