OpenVZ Forum


Home » General » Discussions » Container as router? (Using a container to replace a router host)
Re: Container as router? [message #53805 is a reply to message #53801] Tue, 03 January 2023 22:03 Go to previous messageGo to previous message
jjs - mainphrame is currently offline  jjs - mainphrame
Messages: 44
Registered: January 2012
Member
Following up on my own post for posterity.

To enable NAT/forwarding, in addition to the customary "net.ipv4.ip_forward=1", I also had to:

1. Set NETFILTER="full" in the CT config
2. Turn off firewalld - the version shipped with RHEL 7 has problems with forwarding (I replaced firewalld with ufw)

The version of firewalld in RHEL 9 can forward traffic, so hopefully that won't be an issue in OVZ 9


http://static.openvz.org/userbars/openvz-user.png
 
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 May 11 07:10:41 GMT 2024

Total time taken to generate the page: 0.01517 seconds