In NethServer 7 I was able to go to a local address (manual address / internal address) to connect to Webtop, Roundcube and Nextcloud locally.
I’ve tried https://server_ip/webtop and it did not work. Same with Roundcube and Nextcloud.
Is there a way to do this on NethServer 8 locally? For me this give me options when the internet goes down, or I need to do some test internally with out jumping outside lan then back in to my network.
I don’t use WebTop, but the other two (Roundcube / Nextcloud) only worked for me when using the (LE required) FQDN I had to setup for each of those two.
Kinda logical for me. Using the IP alone lands on the “host”. Only using named virtual hosts land on the Container actually handling nexctloud or roundcube…
The file server is available by IP, but often not with FQDN…
This means a working internal DNS environment for your NS8 network is a MUST!
→ Using the DNSmasq module together with Samba will NOT work, as Samba already uses port 53/udp (DNS). It would need to be running on another Node in the same cluster.
This is easily doable in a VM environment, but needs aditional hardware on bare metal installs.
With correctly setup Internal and External DNS (Split Brain DNS), this works with a correct LE cert internally and externally.
I am able to get to sftpgo internally by https://server_ip/sftpgo … as soon as I get the LE working I should be able to do the sftpgo.domainname.com as well.
That is why I am asking.
I did a migration from XEN / NS7 to Proxmox 8.x.x / NS8. The migration seem to work fine for Nextcloud, Mail, Roundcube, Webtop 5. eJabber, Samba / AD. But then I needed to change the IP address for the server to the original ip address of the NS7 (the NS7 is being decommissioned)
I didn’t add any DNS, just allowed migration to pull over Samba / AD.
If your saying Samba does the DNS, Maybe it’s due to this?
I guess I will have to get the samba1 ip changed now to get it working.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp6s18
auto enp6s18
iface enp6s18 inet static
address 172.25.90.20/24
gateway 172.25.90.1
I may have something incorrect, or un-needed because my software center just keeps trying to load but never finishes. I also haven’t looked at my resolve.conf. Thanks for adding that as well.
Interestingly I can not find my resolve.config. Does that come with Samba and AD or does that come with the other DNS package.
It says for me to install it like below -
You need to install resolvconf.
sudo apt install resolvconf
Enable and Start the service resolvconf.
systemctl start resolvconf
systemctl enable resolvconf
systemctl status resolvconf
Update the file /etc/resolvconf/resolv.conf.d/head to have lines like:
nameserver 8.8.8.8
nameserver 8.8.4.4
Run the command:
resolvconf --enable-updates
resolvconf -u
As per the instructions I’ve posted here, my basis host is a current Debian 12.5 minimal VM, setup without GUI but as SSH server.
That included everything I needed. Even though I am very familiar with Debian, I thought I’ld use the same as what Proxmox uses - so I took a peek there, copied over the needed stuff, and - it works as rock solid as Proxmox!
Note: I still installed my mandatory stuff: apt install -y mc nano htop screen snmp snmpd curl
before actually installing NS8…
→
resolvconf is actually a usable way, according to current Debian infos.
There are very rare times I will put a GUI on a Linux server. No need to take away any extra ram or processes if it’s not really needed. Performance is important for sure. Yes. SSH always makes the list.
Ah! yes. Thanks for the tip on the installs. Love midnight commander. nano is my editor of choice, htop is very handy to see much pid / cpu / mem / hang / end/ kill and so on, screen is a great tool as well, and of course curl.
I like that you added the snmp and snmpd. It also looks like it includes other goodies like zip, unzip, arj, unar, gv, pdf-viewer, lynx, libsensors, strace, and much more…
OK - Ah, I thought that was odd. I figured resolvconf should be there. It was my bad. I guess I didn’t bring it up correctly. Brought it up with nano /etc/resolv.conf
Thanks for sharing your pre-install items with me. I like that pre-install. I should add it to my normal installs. Looks like it will make things a bit easier in working with setup and on going upkeep.
And with your help and sample of interfaces and resolveconfig I am now able to get to software center without a continuous wait.
And that’s really what Open Source and this Forum here is all about!
I can code, but do not see myself as a coder.
But I can help offload our devs by helping out answering questions and getting users up to speed.
And that’s what i attempt to do here…
Thank you @dnutan for the reply. Ah! yes Traefik proxy. That handles the proxy in NS8. This answered another question of mine And it is in the Settings under HTTP routes like you said.
I did create a webtop-local to allow me local access. I will post it here for others to see. Just in case it helps them.