Hello,
I'm using NAT'd LXC containers and have forwarded some ports from the host. That works as expected.
What doesn't work is when the container wants to connect to the forwarded host port.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 123-j DNAT --to 10.10.10.2:456
Is there any way to allow the container to connect to host:123? All I get is connection refused.
Thanks
I'm using NAT'd LXC containers and have forwarded some ports from the host. That works as expected.
What doesn't work is when the container wants to connect to the forwarded host port.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 123-j DNAT --to 10.10.10.2:456
Is there any way to allow the container to connect to host:123? All I get is connection refused.
Thanks