applying the following configuration
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address [public IP]
hwaddress 44:XX:5X
X:8X:20
netmask 255.255.255.255
pointopoint [public gateway IP]
gateway [public gateway IP]
bridge-ports enp2s0
bridge-stp off
bridge-fd 1
auto vmbr10
iface vmbr10 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
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
public network is working but the private network 10.10.10.0 doen't go outside to internet
where is the mistake?
someone can pls help me in order to solve?
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address [public IP]
hwaddress 44:XX:5X

netmask 255.255.255.255
pointopoint [public gateway IP]
gateway [public gateway IP]
bridge-ports enp2s0
bridge-stp off
bridge-fd 1
auto vmbr10
iface vmbr10 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
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
public network is working but the private network 10.10.10.0 doen't go outside to internet
where is the mistake?
someone can pls help me in order to solve?