We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Iptables stopped after install
Re: Iptables stopped after install
I may be having a similar issue. Ubuntu 14.04 x64. IPTables shows as running, but 0% CPU, 0mb ram and 0 minutes. I've tried "service iptables restart" in terminal and it comes up as an unrecognized service. Is this normal?
Re: Iptables stopped after install
Try thisempmdk wrote:I may be having a similar issue. Ubuntu 14.04 x64. IPTables shows as running, but 0% CPU, 0mb ram and 0 minutes. I've tried "service iptables restart" in terminal and it comes up as an unrecognized service. Is this normal?
Code: Select all
sudo apt-get --reinstall install iptables
Re: Iptables stopped after install
I'm still getting the same result. No errors during reinstall.
Re: Iptables stopped after install
empmdk wrote:I'm still getting the same result. No errors during reinstall.
Code: Select all
nano /usr/local/vesta/conf/vesta.conf
You can also try and run this,FIREWALL_SYSTEM='iptables'
Code: Select all
v-update-firewall
Code: Select all
service vesta restart
service iptables restart <-- Let me know the output of this please
Re: Iptables stopped after install
That line is already in the file.
Code: Select all
user@server:~# v-update-firewall
user@server:~# service vesta restart
* Restarting vesta-nginx vesta-nginx
...done.
* Restarting vesta-php vesta-php
...done.
user@server:~# service iptables restart
iptables: unrecognized service
Re: Iptables stopped after install
Whats the output ofempmdk wrote:That line is already in the file.
Code: Select all
user@server:~# v-update-firewall user@server:~# service vesta restart * Restarting vesta-nginx vesta-nginx ...done. * Restarting vesta-php vesta-php ...done. user@server:~# service iptables restart iptables: unrecognized service
Code: Select all
chkconfig --list | grep iptables
/etc/rc.d/init.d/iptables status
Re: Iptables stopped after install
Code: Select all
user@server:~# chkconfig --list | grep iptables
-bash: chkconfig: command not found
user@server:~# /etc/rc.d/init.d/iptables status
-bash: /etc/rc.d/init.d/iptables: No such file or directory
Re: Iptables stopped after install
What happens when you run this?empmdk wrote:Code: Select all
user@server:~# chkconfig --list | grep iptables -bash: chkconfig: command not found user@server:~# /etc/rc.d/init.d/iptables status -bash: /etc/rc.d/init.d/iptables: No such file or directory
Code: Select all
sudo apt-get install iptables
sudo /etc/init.d/iptables start
Re: Iptables stopped after install
Code: Select all
user@server:~# apt-get install iptables
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@server:~# /etc/init.d/iptables start
-bash: /etc/init.d/iptables: No such file or directory
I've tried setting up a game server with SteamCMD and it would not allow a connection, so I've added the following:
Code: Select all
iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT
iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT
Re: Iptables stopped after install
Thats odd one last thing I can think to try would beempmdk wrote:Putting in "iptables-save" gave me an output of all the settings for iptables that VestaCP has set for me.Code: Select all
user@server:~# apt-get install iptables Reading package lists... Done Building dependency tree Reading state information... Done iptables is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. user@server:~# /etc/init.d/iptables start -bash: /etc/init.d/iptables: No such file or directory
I've tried setting up a game server with SteamCMD and it would not allow a connection, so I've added the following:Then, "iptables-save". I tried installing the game with SteamCMD again, and it was able to connect and install the server. So, it appears to actually be working. But, something is causing Ubuntu not to recognize the service?Code: Select all
iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT
Code: Select all
chkconfig iptables on