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: 44
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?



http://static.openvz.org/userbars/openvz-user.png

[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: Sat Apr 27 22:07:38 GMT 2024

Total time taken to generate the page: 0.04551 seconds