I have a proxmox server in ovh with this settings:
All trafffic are redirected from vmbr0 to vmbr1 with:
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
I would like to créate this setup:
- Vmbr0 : 1 public IP: 1.2.3.4/24 with her GW 4.3.2.1.
- Vmbr1 : 10.10.10.1/24
- Vmbr2 : 102.168.1.1/24
All trafffic are redirected from vmbr0 to vmbr1 with:
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE
I would like to créate this setup:
- One VM with Opnsense to manage IP (dhcp) and traffic between vm’s and internet.
- I have some issues like DHCP in LAN opensense. All VM’s take IP normaly but no internet almost 30 minutes … then they have normal internet. Its a problema when i installed via scripts a container they say no internet but with IP in range
- And other issue its forwardings ports to regain vm. I dont know how to do it
- Thank you.