Quote from
kevin1 on April 8, 2019, 12:35 pm
Hello,
I have created a "ubuntu-xenial - LXC" antlet that is using a bridge network. I'm trying forward port 80 to 8080 on that interface (eth1), but I keep getting the following message:
sudo iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables: No chain/target/match by that name.
I've been able to successfully use that approach on other systems/containers/vms running this same version Ubuntu, so I'm confused why it is not working here. Although I am not using Docker here, I have seen issues like this with Docker containers and thought that this may somehow be related to the antlet container. Should I be able to do this on my antlet and if so, can you clarify what I am doing wrong?
Thanks!
Hello,
I have created a "ubuntu-xenial - LXC" antlet that is using a bridge network. I'm trying forward port 80 to 8080 on that interface (eth1), but I keep getting the following message:
sudo iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables: No chain/target/match by that name.
I've been able to successfully use that approach on other systems/containers/vms running this same version Ubuntu, so I'm confused why it is not working here. Although I am not using Docker here, I have seen issues like this with Docker containers and thought that this may somehow be related to the antlet container. Should I be able to do this on my antlet and if so, can you clarify what I am doing wrong?
Thanks!