# New Install of VitalPBX 4.0

**URL:** https://forums.vitalpbx.org/t/new-install-of-vitalpbx-4-0/3534
**Category:** VitalPBX
**Created:** [November 28, 2023, 9:39pm UTC](https://forums.vitalpbx.org/t/new-install-of-vitalpbx-4-0/3534 "2023-11-28T21:39:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![microchipmatt](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/microchipmatt/32/2902_2.png) [@microchipmatt](https://forums.vitalpbx.org/u/microchipmatt)
#### Post date: [November 28, 2023, 9:39pm UTC](https://forums.vitalpbx.org/t/new-install-of-vitalpbx-4-0/3534/1 "2023-11-28T21:39:48Z")

</div>

Hello, I have a new install of VitalPBX 4.0. I disabled the firewall and saved the settings. However, the firewall does not stay permanently disabled. On Reboot, the firewall is switched back on again. Is this a bug?

---

<div class="post-metadata">

### Author: ![microchipmatt](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/microchipmatt/32/2902_2.png) [@microchipmatt](https://forums.vitalpbx.org/u/microchipmatt)
#### Post date: [November 29, 2023, 7:58am UTC](https://forums.vitalpbx.org/t/new-install-of-vitalpbx-4-0/3534/2 "2023-11-29T07:58:04Z")

</div>

Figured it out:

- sudo systemctl disable firewalld
- sudo systemctl mask --now firewalld (hides firewall systemd)

I’m NAT’d behind a hardware firewall.

As well, enabled SSH internally with password, in case others need that as well:

- vi /etc/ssh/sshd\_config
- The config line by default says: PermitRootLogin Password-Prohibited
- We change it to: PermitRootLogin yes  
Reboot Vital PBX after both these changes.  
You also have to change the Network Interface form the command line, they have not integrated it into the GUI yet if you want a static address. but no big deal. Easy to do.

> [@How do I change the IP to static in VitalPBX 4?](https://forums.vitalpbx.org/t/how-do-i-change-the-ip-to-static-in-vitalpbx-4/3278):
>
> By default, our system’s IP address in Debian is obtained through DHCP, however, you can modify it and assign it a static IP address using the following steps: Edit the following file with nano, /etc/network/interfaces. nano /etc/network/interfaces Change #The primary network interface allow-hotplug eth0 iface eth0 inet dchp With the following. #The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.1.200 netmask 255.255.255.0 gateway 192.168.1.1 Save and…

---

<div class="post-metadata">

### Author: ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)
#### Post date: [December 29, 2023, 7:58am UTC](https://forums.vitalpbx.org/t/new-install-of-vitalpbx-4-0/3534/3 "2023-12-29T07:58:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
