OpenVZ Forum

Home » General » Discussions » Container as router? (Using a container to replace a router host)
Container as router? [message #53801] Thu, 22 December 2022 19:45 Go to previous message
jjs - mainphrame is currently offline  jjs - mainphrame
Messages: 43
Registered: January 2012
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

Read Message
Read Message
Read Message
Previous Topic: Problematic VM migration between hosts
Next Topic: Multicast in OVZ CTs and VMs?
Goto Forum:

Current Time: Thu Sep 28 04:14:39 GMT 2023

Total time taken to generate the page: 0.02933 seconds