Hi guys
I have been looking a firewall-cmd to open my port only for my local network, just solved for public open
Any one with experience of this command for opening a port specifically for my local network in zimbra server
How to allow access port 7071 locally
How to allow access port 7071 locally
Hi team is there any command i can use to access this port number 7071 only to my network
I have tried this one
firewall-cmd --permanent --zone=public --add-rich-rule 'rule family="ipv4" source address="192.168.3.0/24" port protocol="tcp" port="7071" accept'
firewall-cmd --reload
But still i can access to other network
What could be a problem
I have tried this one
firewall-cmd --permanent --zone=public --add-rich-rule 'rule family="ipv4" source address="192.168.3.0/24" port protocol="tcp" port="7071" accept'
firewall-cmd --reload
But still i can access to other network
What could be a problem
Re: How to allow access port 7071 locally
it's quite easy. Please refer below link.
https://www.tecmint.com/block-ssh-and-f ... ork-range/
command is;
firewall-cmd --direct --add-rule ipv4 filter INPUT 1 -m tcp --source 192.168.1.100/24 -p tcp --dport 7071 -j REJECT
**enter your desired network above.
https://www.tecmint.com/block-ssh-and-f ... ork-range/
command is;
firewall-cmd --direct --add-rule ipv4 filter INPUT 1 -m tcp --source 192.168.1.100/24 -p tcp --dport 7071 -j REJECT
**enter your desired network above.
Re: How to allow access port 7071 locally
The one you have given it is for rejecting such network.