Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How to know if iptables is running?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
21 posts
  • Previous
  • 1
  • 2
  • 3
Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: How to know if iptables is running?
  • Quote

Post by Aporie » Thu Jun 27, 2019 8:07 am

Yeah I think it is a major issue here. Vestacp team should do something about it. How can we know firewall rules are active and chained to ufw on ubuntu? Wouldn't it be easier to set ufw for ubuntu in vestacp software list?

Code: Select all

sudo ufw status
Status: active
But no rules defined.

Code: Select all

sudo iptables -L -n
Chain INPUT (policy DROP)
target     prot opt source               destination         
f2b-sshd   tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 22
fail2ban-VESTA  tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:8083
fail2ban-MAIL  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 25,465,587,2525,110,995,143,993
fail2ban-FTP  tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:21
fail2ban-SSH  tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
A lot of rules defined but are they handled by ufw?

Code: Select all

sudo service iptables status
Unit iptables.service could not be found.
So basically there is no rules set for ufw and iptables seems not to be installed (which make sense) but then how everything works fine as there is no rules set for ufw? Is really the server secure?
Top


Post Reply
  • Print view

21 posts
  • Previous
  • 1
  • 2
  • 3

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password