CentOS 7 is using FirewallD now! Use the --permanent
flag to save settings.
Example:
firewall-cmd --zone=public --add-port=3000/tcp --permanent
Then reload rules:
firewall-cmd --reload
Related Posts:
- Failed to start LSB :Bring Up down Networking
- How to open port for a specific IP address with firewall-cmd on CentOS? [duplicate]
- No acceptable C compiler found in $PATH while installing the C compiler
- HAProxy vs. Nginx
- Nginx 403 forbidden for all files
- rndc: connect failed: 127.0.0.1#953: connection refused
- Firewalld is not running [closed]
- HAProxy vs. Nginx
- How do you install Node.JS on CentOS?
- How do I update a CentOS server’s time from an authoritative time server?
- Best way to gracefully restart CentOS?
- Adding a directory to $PATH in CentOS?
- How to extend an ext4 partition and filesystem?
- My /var/log/btmp file is huge! What should I do?
- Log all commands run by admins on production servers
- ssh : Permission denied (publickey,gssapi-with-mic)
- CentOS vs. Ubuntu [closed]
- ImportError: No module named psycopg2
- No space left on device
- Error with pre-create check: “VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path”
- Error with pre-create check: “VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path”
- How to install “make” in ubuntu?
- javac : command not found
- gcc: error: unrecognized command line option
- Failed to get D-Bus connection: Operation not permitted
- VirtualBox: mount.vboxsf: mounting failed with the error: No such device
- CentOS error – sudo: effective uid is not 0, is sudo installed setuid root?
- Server can’t find NXDOMAIN
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- SSL CA cert (path? access rights?)
- Python, how to handle the “ValueError: unsupported pickle protocol: 4” error?
- bash: mkvirtualenv: command not found
- phpinfo() is not working on my CentOS server
- Apache is downloading php files instead of displaying them
- httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
- How to Check the Version of my gcc?
- Running docker container : iptables: No chain/target/match by that name
- How to Unban an IP properly with Fail2Ban
- When does `cron.daily` run?
- best way to clear all iptables rules
- How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/CentOS shell?
- How can I port forward with iptables?
- Mount CIFS Host is down
- how do you create an ssh key for another user?
- REJECT vs DROP when using iptables
- Allow SFTP but disallow SSH?
- “POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?
- How to start/stop iptables on Ubuntu?
- IPTABLES – Limit rate of a specific incoming IP
- How bad is it really to install Linux on one big partition?
- How to do the port forwarding from one ip to another ip in same network?
- Show all users and their groups/vice versa
- How to reload default Mac OSX routing table without rebooting
- How should an IT department choose a standard Linux distribution?