Tutorial details | |
---|---|
Difficulty | Easy (rss) |
Root privileges | Yes |
Requirements | None |
Time | 1m |
CentOS Linux restart iptables command
The syntax is as follows to restart an IPv4 iptables based firewall:
# service iptables restart
The syntax is as follows to restart an IPv6 iptables based firewall:
# service ip6tables restart
CentOS Linux stop iptables command
The syntax is as follows to stop an IPv4 iptables based firewall:
# service iptables stop
The syntax is as follows to stop an IPv6 iptables based firewall:
# service ip6tables stop
CentOS Linux start iptables command
The syntax is as follows to start an IPv4 iptables based firewall:
# service iptables start
The syntax is as follows to start an IPv6 iptables based firewall:
# service ip6tables start
CentOS Linux get status of iptables command
The syntax is as follows to status of an IPv4 iptables based firewall:
# service iptables status
The syntax is as follows to status of an IPv6 iptables based firewall:
# service ip6tables status
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |