I have a pve running. The Debian on which PVE (PVE full install) has IP 192.168.2.50. On PVE runs a VM which serves an unbound server, which listens on port 53. The IP address of the unbound server is 192.168.2.125.
From the shell of the PVE Debian host, I get this (which I understand):
From the unbound server client VM inside the PVE host itself I get (which I also understand):
But when I go to the PVE Debian host and the client VM from the outside I get:
The second one is as it should be. By why do I get the report that something is listening on 192.168.2.50 on UDP port 53 when I connect via the LAN, and not when I do this locally (inside the PVE machine)?
From the shell of the PVE Debian host, I get this (which I understand):
Code:
root@pve:~# nc -v -z -u 192.168.2.50 53
pve.rna.nl [192.168.2.50] 53 (domain) : Connection refused
root@pve:~# nc -v -z -u 127.0.0.1 53
localhost.localdomain [127.0.0.1] 53 (domain) : Connection refused
root@pve:~# nc -v -z -u 192.168.2.125 53
foo.rna.nl [192.168.2.125] 53 (domain) open
Code:
root@foo:/home/me# nc -v -z -u 192.168.2.125 53 && echo hello
Connection to 192.168.2.125 53 port [udp/domain] succeeded!
hello
root@foo:/home/me# nc -v -z -u 192.168.2.50 53 || echo hello
hello
Code:
gerben@bar% nc -v -z -u 192.168.2.50 53
Connection to 192.168.2.50 port 53 [udp/domain] succeeded!
gerben@bar% nc -v -z -u 192.168.2.125 53
Connection to 192.168.2.125 port 53 [udp/domain] succeeded!
Last edited: