Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: mammut3d on April 26, 2019, 09:18:16 am

Title: Command line with putty to stop firewall
Post by: mammut3d on April 26, 2019, 09:18:16 am
Hi,

I turned zentyal 6.0 firewall on, now i can not access zentyal via browser. Is there a command line based command to disable this module?

Update:
I stop Zentyal service by command : sudo service zentyal stop
‌But still can not connect with putty.
Command: nmap -Pn <server_IP> returns:
all 1000 scanned ports on are filtered.

Can anyone help?
Title: Re: Command line with putty to stop firewall
Post by: doncamilo on May 26, 2019, 09:38:09 pm
Hi,

I turned zentyal 6.0 firewall on, now i can not access zentyal via browser. Is there a command line based command to disable this module?

Update:
I stop Zentyal service by command : sudo service zentyal stop
‌But still can not connect with putty.
Command: nmap -Pn <server_IP> returns:
all 1000 scanned ports on are filtered.

Can anyone help?

Zentyal enables the firewall just in the moment the network interfaces are configured the first time. If you configures as external interface the same iface that you're using to connect with webadmin you'll lost the connection because the default firewall external configuration. The same is valid for SSH.

You have to use the local console in order to disable the firewall while setting a firewall external interface rule granting the webadmin and SSH traffic. Use this command:

Code: [Select]
sudo zs firewall stop
Afterwards you'll have full access throught the external interface. Configure the rules for SSH and webadmin and restart the service using the webadmin or the command:

Code: [Select]
sudo zs firewall start
Cheers!