I’m having an issue seeing traffic from a proxy device in the container.
To create the proxy device, I’m running the following command
lxc config device add mySqlServer port3306 proxy listen=tcp:0.0.0.0:33306 connect=tcp:127.0.0.1:3306
If I try to connect to port 33306 on the host machine, the following happens:
- I see the network traffic in tcpdump on the host
- I can see “Accepted a new connection” in
What doesn’t happen is anything in the container. When running tcpdump, I see no network traffic, and I can’t connect to mysql (yes it is running and listening on 3306).
netstat -tunap on the host shows 33306 listening and on the container shows 3306 listening.
I’m running on Ubuntu 18.04, and
lxc version gives
Client version: 3.0.2 Server version: 3.0.2
Any suggestions would be greatly appreciated!