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

Vesta firewall and UFW conflct?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Vesta firewall and UFW conflct?
  • Quote

Post by skurudo » Fri Jan 30, 2015 10:56 am

I used UFW and VestaCP, but in the end I shut down ufw. UFW used iptables, VestaCP used iptables too. Believe me, you don't need two interfaces to edit one service - iptables.
Top

mcsteevie
Posts: 11
Joined: Thu Jan 29, 2015 3:13 am

Re: Vesta firewall and UFW conflct?
  • Quote

Post by mcsteevie » Fri Jan 30, 2015 11:40 am

skurudo wrote:I used UFW and VestaCP, but in the end I shut down ufw. UFW used iptables, VestaCP used iptables too. Believe me, you don't need two interfaces to edit one service - iptables.
Agreed. iptables is extremely sensitive. Vesta already uses it's own way of editing iptables (config files are here: /usr/local/vesta/data/firewall/). Vesta uses a ports.conf, rules.conf, chains.conf and banlist.conf file.

UFW would specifically need to use these config files or iptables would break. My best advice would be to move away from using UFW. If you're feeling brave, it would be interesting to see if you can find a way of making UFW use the existing files in /usr/local/vesta/data/firewall/.

As for advantages, both Vesta and UFW essentially do the same thing - allow you to configure rules in iptables. With Vesta, you get the advantage of managing this via the web interface but otherwise, iptables does the same thing regardless of what you use to manage it. The "clever" bit is fail2ban which is used to dynamically block ips which are trying to cause trouble.
Top

brit
Posts: 3
Joined: Mon Jun 26, 2017 8:11 pm

Re: Vesta firewall and UFW conflct?
  • Quote

Post by brit » Tue Jun 27, 2017 5:26 am

I like the Vesta GUI for managing ports. The issue I am having is that I used Vesta iptables GUi to open port 8080 but when I do nmpa localhost i don't see port 8080 in the list of open ports. Any thoughts?
Thanks.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

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