How to know if iptables is running?
How to know if iptables is running?
With command. How to know if iptables is running and working?
The control panel is started, but is always: Uptime: 0 minutes.
Thanks.
The control panel is started, but is always: Uptime: 0 minutes.
Thanks.
Re: How to know if iptables is running?
Do something like to make sure its running.
Code: Select all
service iptables start
Re: How to know if iptables is running?
# service iptables start
iptables: unrecognized service
iptables: unrecognized service
Re: How to know if iptables is running?
To restart the service type in SSH logged in as root.
service iptables restart
To ensure that iptables starts when the system is booted, use the following command:
chkconfig --level 345 iptables on
this is for centos.
service iptables restart
To ensure that iptables starts when the system is booted, use the following command:
chkconfig --level 345 iptables on
this is for centos.
Re: How to know if iptables is running?
What is your operating system?
Re: How to know if iptables is running?
Is Ubuntu 14.04
Not working service iptables start/stop/restart...
Not working service iptables start/stop/restart...
Re: How to know if iptables is running?
For Ubuntu type
sudo ufw status
sudo ufw status
Re: How to know if iptables is running?
I do not understand.
In Control Panel Vesta, iptables is always: Uptime: 0 minutes.
Inactive:
root@hostname:~# sudo ufw status
Status: inactive
Running:
root@hostname:~# v-list-sys-services
NAME STATE CPU MEM RTIME
------ ------ ------ ------ ------
apache2 running 0 761 78
nginx running 0 9 78
named running 0 93 78
exim4 running 0 1 78
dovecot running 0 0 78
spamassassin running 0.2 2443 78
mysql running 0.1 613 78
vsftpd running 0 1 78
cron running 0 0 78
iptables running 0 0 0
fail2ban running 0.1 607 78
In Control Panel Vesta, iptables is always: Uptime: 0 minutes.
Inactive:
root@hostname:~# sudo ufw status
Status: inactive
Running:
root@hostname:~# v-list-sys-services
NAME STATE CPU MEM RTIME
------ ------ ------ ------ ------
apache2 running 0 761 78
nginx running 0 9 78
named running 0 93 78
exim4 running 0 1 78
dovecot running 0 0 78
spamassassin running 0.2 2443 78
mysql running 0.1 613 78
vsftpd running 0 1 78
cron running 0 0 78
iptables running 0 0 0
fail2ban running 0.1 607 78
Re: How to know if iptables is running?
Hi please use this command
sudo ufw reload
sudo ufw reload
Re: How to know if iptables is running?
Having the same issue as topic poster.
Its a fresh install on a VPS running Debian Wheezy.
Is there a solution for this?
Its a fresh install on a VPS running Debian Wheezy.
Is there a solution for this?