Container as router? [message #53801] |
Thu, 22 December 2022 19:45  |
jjs - mainphrame
Messages: 42 Registered: January 2012
|
Member |
|
|
I've replaced my gateway hardware with a Debian 10 openvz VM, and it works as it should.
That said, I think it would be more efficient to do this in an openvz container.
I created a Debian 10 container, connected it to the same internal and external bridged networks as the VM, applied the same iptables masquerade rule as on the VM, but the CT won't forward the packets.
This should be able to work, right? Is there some sort of "CT_CAN_FORWARD_PACKETS" boolean that I'm missing?
[Updated on: Thu, 22 December 2022 21:12] Report message to a moderator
|
|
|