Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
I messed up, please help! (Changed IP Addresses and now I can't access anything)
-
- Posts: 43
- Joined: Tue Apr 18, 2017 10:54 pm
- Os: Ubuntu 15x
- Web: apache + nginx
I messed up, please help! (Changed IP Addresses and now I can't access anything)
The subject pretty much says it all, I went into the firewall and changed the 0.0.0.0\0 to my actual server IP, and now I can't access anything! Please help! I have access to a SSH shell if that will allow me to fix this (host allows an emergency shell for issues like this).
Re: I messed up, please help! (Changed IP Addresses and now I can't access anything)
I've not tried this, but a cursory look shows it's using iptables:
iptables -L will show you what you have set.
Here's something I found that's supposed to open 443:
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
service iptables save
service iptables restart
iptables -L will show you what you have set.
Here's something I found that's supposed to open 443:
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
service iptables save
service iptables restart
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I messed up, please help! (Changed IP Addresses and now I can't access anything)
Edit this file
Change the faulty entry by hand, Save and Reboot your server
Code: Select all
nano /usr/local/vesta/data/firewall/rules.conf