Uh, are you using a âDesktopâ version of Ubuntu?
Can you talk about what you mean by âreinstall the OSâ? Did you format the disk and start from scratch?
What do you mean by âI cannot install anything elseâ? You canât install âother softwareâ? Or youâre forced to use Ubuntu?
I use Debian, for the record, Iâve found it to be MUCH faster than Ubuntu.
My ONLY complaint is that I wish that Debian made a dedicated âServerâ release. I donât care for the ânetbootâ as much.
As @aaronkempf ask, If you do use the DE version, Please donât. installing DE on web hosting server is less secure and not good for performance. Give us more information about your interface and DNS. I think ubuntu using netplan those days.
In the control panel I can install an operating system. There are a few options: Debian 10 or 11, Ubuntu 22.04 or 20.04
I tried Debian 11 and all Ubuntuâs. I guess itâs not a desktop version. I access there via SSH.
On Debian I have an issue with FTP jail and hestia doesnât install.
On Ubuntu everything works but after I install Ubuntu, I cannot install anything else because of the issue with the internet connection:
ping: google.com: Temporary failure in name resolution
DNS resolving doesnât work (even apt-get update fails)
Overall it looks like my system doesnât have internet access anymore.
But at the same time, I have no issues with connection via SSH. And Hestia itself works.
It looks strange and itâs being replaced after rebooting the system.
Where should I edit it?
UPDATE:
I tried to edit resolv.conf, tried other solutions found on internet (including deleting resolv.conf and recreating it). But they didnât work.
It looks like Hestia installed something which blocks internet access.
I tried several with with fresh OS installation - everything works before installation and no internet after.
But the server is accessible at the same time (via SSH / web interface etc).
Thank you for your solutions but it seems they didnât help me (((
Hereâs what I saw after first solution:
root@p726589:~# mkdir -p /etc/systemd/resolved.conf.d
root@p726589:~# echo -e "[Resolve]\nDNS=76.76.2.0 76.76.10.0\nDomains=~." > /etc/systemd/resolved.conf.d/override.conf
root@p726589:~# systemctl restart systemd-resolved
Failed to restart systemd-resolved.service: Transaction for systemd-resolved.service/restart is destructive (shutdown.target has 'start' job queued, but 'stop' is included in transaction).
See system logs and 'systemctl status systemd-resolved.service' for details.
root@p726589:~# Read from remote host x.x.x.x: Operation timed out
Connection to x.x.x.x closed.
client_loop: send disconnect: Broken pipe
After that connection was terminated and I had to restart the server in control panel.
And hereâs solution #2:
root@p726589:~systemctl disable systemd-resolveded
Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service.
Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service.
root@p726589:~# systemctl stop systemd-resolved
root@p726589:~# echo -e "nameserver 76.76.2.0\nnameserver 76.76.10.0" > /etc/resolv.conf.deepslam
root@p726589:~# ln -sf /etc/resolv.conf.deepslam /etc/resolv.conf
root@p756589:~# dig hestiacp.com +short
;; communications error to 76.76.2.0#53: timed out
;; communications error to 76.76.2.0#53: timed out
^Croot@p726589:~# ping google.com
ping: google.com: Temporary failure in name resolution
Thank you so much for your help and your patience!
Is it a firewall maybe?
UPDATE:
Yep!
Thatâs a firewall.
I found a command:
v-stop-firewall
And after that ping and everything else works as expected!
But Iâd be glad if anyone help me with correct settings with the firewall.
As far as I understood, Hestia uses iptables and I have to open ports 43 and 53, right?
You need to learn how to manage your OS. Disable the firewall is not a solution and for sure not good for security. Without firewall fail2ban will not work also.
Oh, thank you again for your time.
But it didnât help either.
Iâm also trying to google some help and figure out the answer.
Hereâs what I see with these commands:
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables v1.8.7 (nf_tables): Couldn't load match `state':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
I think weâre getting closer )))
P.S. The same thing with conntrack (I googled how to fix it)