We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it soon. Read more about it: https://vestacp.com/docs/vesta-2-development
Iptables stopped after install
Iptables stopped after install
Hi,
I have installed vestacp on 5 servers without any problems in the last month.
Now I can't get the firewall working on new server.
I tried installing on different servers, on debian 7 64, debian 7 32, and even tried a different hosting..
Nothing - can't get the iptables to work.
also the firewall rules are empty.
Anybody ?
links to screen shots:
http://prntscr.com/5ibmlk
http://prntscr.com/5ibmqh
Arik
I have installed vestacp on 5 servers without any problems in the last month.
Now I can't get the firewall working on new server.
I tried installing on different servers, on debian 7 64, debian 7 32, and even tried a different hosting..
Nothing - can't get the iptables to work.
also the firewall rules are empty.
Anybody ?
links to screen shots:
http://prntscr.com/5ibmlk
http://prntscr.com/5ibmqh
Arik
Re: Iptables stopped after install
HI Arik,
Please reinstall Debian and give me access to your server
Please reinstall Debian and give me access to your server
Re: Iptables stopped after install
Hi,
This issue is not resolved and happening constantly on different machines and on different setups.
Please try installing VestaCP on a clean server and see if you are not getting the same result.
Iptables - Stopped and no firewall rules.
Am I the only one that encounter that problem?
Arik
This issue is not resolved and happening constantly on different machines and on different setups.
Please try installing VestaCP on a clean server and see if you are not getting the same result.
Iptables - Stopped and no firewall rules.
Am I the only one that encounter that problem?
Arik
Re: Iptables stopped after install
Hi there, yes i have the exact same issue. Any update on this?
Just created a new Ubuntu 14.04 x64 on a 1GB Ram(mentioning this as it is considered a micro-server by VestaCP)
So it's a clean server and just installed VestaCP nothing prior this and nothing after, but Iptables in services is stopped and Firewall is empty.
Stelios
Just created a new Ubuntu 14.04 x64 on a 1GB Ram(mentioning this as it is considered a micro-server by VestaCP)
So it's a clean server and just installed VestaCP nothing prior this and nothing after, but Iptables in services is stopped and Firewall is empty.
Stelios
Re: Iptables stopped after install
My Os: Debian 7, it's nothing like you arikdpc.
Re: Iptables stopped after install
same case on Debian 7 64bits
Re: Iptables stopped after install
i have the same problem here
-> ubuntu 14.04 64-bit
-> ubuntu 14.04 64-bit
Re: Iptables stopped after install
Ok i found the solution
1/ go to /usr/local/vesta/data/firewall directory
2/ you have to create 2 files :
ports.conf
PROTOCOL='TCP' PORT='20'
PROTOCOL='TCP' PORT='21'
PROTOCOL='TCP' PORT='22'
PROTOCOL='TCP' PORT='25'
PROTOCOL='UDP' PORT='53'
PROTOCOL='TCP' PORT='80'
PROTOCOL='TCP' PORT='443'
PROTOCOL='TCP' PORT='110'
PROTOCOL='UDP' PORT='123'
PROTOCOL='TCP' PORT='143'
PROTOCOL='TCP' PORT='3306'
PROTOCOL='TCP' PORT='5432'
PROTOCOL='TCP' PORT='8080'
PROTOCOL='TCP' PORT='8443'
PROTOCOL='TCP' PORT='8083'
rules.conf
RULE='1' ACTION='ACCEPT' PROTOCOL='ICMP' PORT='0' IP='0.0.0.0/0' COMMENT='PING' SUSPENDED='no' TIME='17:13:48' DATE='2014-09-16'
RULE='2' ACTION='ACCEPT' PROTOCOL='TCP' PORT='8083' IP='0.0.0.0/0' COMMENT='VESTA' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='3' ACTION='ACCEPT' PROTOCOL='TCP' PORT='3306,5432' IP='0.0.0.0/0' COMMENT='DB' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='4' ACTION='ACCEPT' PROTOCOL='TCP' PORT='143,993' IP='0.0.0.0/0' COMMENT='IMAP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='5' ACTION='ACCEPT' PROTOCOL='TCP' PORT='110,995' IP='0.0.0.0/0' COMMENT='POP3' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='6' ACTION='ACCEPT' PROTOCOL='TCP' PORT='25,465,587,2525' IP='0.0.0.0/0' COMMENT='SMTP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='7' ACTION='ACCEPT' PROTOCOL='UDP' PORT='53' IP='0.0.0.0/0' COMMENT='DNS' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='8' ACTION='ACCEPT' PROTOCOL='TCP' PORT='21' IP='0.0.0.0/0' COMMENT='FTP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='9' ACTION='ACCEPT' PROTOCOL='TCP' PORT='80,443' IP='0.0.0.0/0' COMMENT='WEB' SUSPENDED='no' TIME='17:04:27' DATE='2014-09-24'
RULE='10' ACTION='ACCEPT' PROTOCOL='TCP' PORT='22' IP='0.0.0.0/0' COMMENT='SSH' SUSPENDED='no' TIME='22:06:35' DATE='2014-10-23'
3/ restart the firewall Service from VestaCP Panel
That's all & enjoy !
1/ go to /usr/local/vesta/data/firewall directory
2/ you have to create 2 files :
ports.conf
PROTOCOL='TCP' PORT='20'
PROTOCOL='TCP' PORT='21'
PROTOCOL='TCP' PORT='22'
PROTOCOL='TCP' PORT='25'
PROTOCOL='UDP' PORT='53'
PROTOCOL='TCP' PORT='80'
PROTOCOL='TCP' PORT='443'
PROTOCOL='TCP' PORT='110'
PROTOCOL='UDP' PORT='123'
PROTOCOL='TCP' PORT='143'
PROTOCOL='TCP' PORT='3306'
PROTOCOL='TCP' PORT='5432'
PROTOCOL='TCP' PORT='8080'
PROTOCOL='TCP' PORT='8443'
PROTOCOL='TCP' PORT='8083'
rules.conf
RULE='1' ACTION='ACCEPT' PROTOCOL='ICMP' PORT='0' IP='0.0.0.0/0' COMMENT='PING' SUSPENDED='no' TIME='17:13:48' DATE='2014-09-16'
RULE='2' ACTION='ACCEPT' PROTOCOL='TCP' PORT='8083' IP='0.0.0.0/0' COMMENT='VESTA' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='3' ACTION='ACCEPT' PROTOCOL='TCP' PORT='3306,5432' IP='0.0.0.0/0' COMMENT='DB' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='4' ACTION='ACCEPT' PROTOCOL='TCP' PORT='143,993' IP='0.0.0.0/0' COMMENT='IMAP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='5' ACTION='ACCEPT' PROTOCOL='TCP' PORT='110,995' IP='0.0.0.0/0' COMMENT='POP3' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='6' ACTION='ACCEPT' PROTOCOL='TCP' PORT='25,465,587,2525' IP='0.0.0.0/0' COMMENT='SMTP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='7' ACTION='ACCEPT' PROTOCOL='UDP' PORT='53' IP='0.0.0.0/0' COMMENT='DNS' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='8' ACTION='ACCEPT' PROTOCOL='TCP' PORT='21' IP='0.0.0.0/0' COMMENT='FTP' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'
RULE='9' ACTION='ACCEPT' PROTOCOL='TCP' PORT='80,443' IP='0.0.0.0/0' COMMENT='WEB' SUSPENDED='no' TIME='17:04:27' DATE='2014-09-24'
RULE='10' ACTION='ACCEPT' PROTOCOL='TCP' PORT='22' IP='0.0.0.0/0' COMMENT='SSH' SUSPENDED='no' TIME='22:06:35' DATE='2014-10-23'
3/ restart the firewall Service from VestaCP Panel
That's all & enjoy !
Re: Iptables stopped after install
Hey mephivio, thank you very much :)
Re: Iptables stopped after install
This fixed it for me. Thanks!
edit: If it helps the devs, I'm on Ubuntu 14 LTS x64
edit: If it helps the devs, I'm on Ubuntu 14 LTS x64