Hello im a beginner proxmox user and i want to make my one public ip share to another vm with masuerding setup, and im so confuse there still no connections on windows server can somebody help meh? by the way im using an bare metal services on a vultr
theres the picture how i input my ips to windows server
and this my network config
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp1s0
iface enp1s0 inet static
address xxx.xxx.112.20/23
gateway xxx.xxx.112.1
up route add -net xxx.xxx.112.20 netmask 255.255.254.0 gw xxx.xxx.112.1 dev enp1s0
auto vmbr0
iface vmbr0 inet static
address 10.1.1.1/23
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.1.1.0/23' -o enp1s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/23' -o enp1s0 -j MASQUERADE
theres the picture how i input my ips to windows server
and this my network config
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp1s0
iface enp1s0 inet static
address xxx.xxx.112.20/23
gateway xxx.xxx.112.1
up route add -net xxx.xxx.112.20 netmask 255.255.254.0 gw xxx.xxx.112.1 dev enp1s0
auto vmbr0
iface vmbr0 inet static
address 10.1.1.1/23
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.1.1.0/23' -o enp1s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/23' -o enp1s0 -j MASQUERADE