I’m having trouble sending traffic to a container… the host and container are running Debian 9 and the snap version of LXD is 3.19
I set port forwarding on the host to the container like this…
lxc config device add cco-email myport80 proxy listen=tcp:0.0.0.0:80 connect=tcp:127.0.0.1:80
lxc config device add cco-email myport8083 proxy listen=tcp:0.0.0.0:8083 connect=tcp:127.0.0.1:8083
I can access port 8083 in the container, but nothing works on port 80…
Running sudo tcpdump port 80 and '(tcp-syn|tcp-ack)!=0'
on the host shows the traffic hitting the host, but the same command in the container doesn’t work and no results are shown…
sudo tcpdump port 80 and '(tcp-syn|tcp-ack)!=0'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
Does anyone have any ideas?