I have a Debian11 container with the following definition:
Nmap says only port 22 is open. And indeed I can successfully connect to it.
But I can't understand why none of the other ports are reachable. The firewall is disabled.
Finally here's what tcpdump says when I try to reach port 3000 from the PVE node (only have one).
I know the port is open because:
Can anyone suggest a next step?
Code:
arch: amd64
cores: 1
features: nesting=1
hostname: onew
memory: 512
mp0: /mnt/bigdata,mp=/mnt/bigdata,mountoptions=noatime
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.2.1,hwaddr=16:CC:8E:8E:1F:CA,ip=192.168.2.49/32,ip6=dhcp,type=veth
ostype: debian
rootfs: local-lvm:vm-103-disk-0,size=6G
swap: 512
unprivileged: 1
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
Nmap says only port 22 is open. And indeed I can successfully connect to it.
But I can't understand why none of the other ports are reachable. The firewall is disabled.
Finally here's what tcpdump says when I try to reach port 3000 from the PVE node (only have one).
Code:
root@onew:~# tcpdump -i any port 3000 -n
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
06:22:49.444842 eth0 In IP 192.168.2.112.35150 > 192.168.2.49.3000: Flags [S], seq 20292202, win 64240, options [mss 1460,sackOK,TS val 694071067 ecr 0,nop,wscale 7], length 0
06:22:49.444860 eth0 Out IP 192.168.2.49.3000 > 192.168.2.112.35150: Flags [R.], seq 0, ack 20292203, win 0, length 0
I know the port is open because:
Code:
root@onew:~# netstat -lp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:smtp 0.0.0.0:* LISTEN 450/master
tcp 0 0 127.0.0.53:domain 0.0.0.0:* LISTEN 82/systemd-resolved
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 82/systemd-resolved
tcp 0 0 localhost:3000 0.0.0.0:* LISTEN 467/node
Can anyone suggest a next step?
Last edited: