How to allow access port 7071 locally

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
mathayo
Posts: 23
Joined: Fri Apr 13, 2018 5:04 am

Port open public and local network

Post by mathayo »

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
mathayo
Posts: 23
Joined: Fri Apr 13, 2018 5:04 am

How to allow access port 7071 locally

Post by mathayo »

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
charles07
Posts: 13
Joined: Thu Aug 11, 2016 6:28 am

Re: How to allow access port 7071 locally

Post by charles07 »

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.
mathayo
Posts: 23
Joined: Fri Apr 13, 2018 5:04 am

Re: How to allow access port 7071 locally

Post by mathayo »

The one you have given it is for rejecting such network.
Post Reply