Debian interface config:
auto lo
iface lo net loopback
allow-hot plug ens18
iface ens18 inet static
address 10.10.10.10/24
gateway 10.10.10.1
Proxmox config:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp8s0
iface enp8s0 inet static
address 65.**.**.84/24
gateway 65.**.**.65
# route 65.**.**.64/26 via 65.**.**.65
auto vmbr0
#private sub network
iface vmbr0 inet static
address 10.10.10.1/24
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 enp8s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp8s0 -j MASQUERADE
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 8447 -j DNAT --to 10.10.10.10:8447
Web Interface is now started
Please visit https://10.10.10.10:8447
Ive tried to route it but it is not working. Need help. First time working with NAT
auto lo
iface lo net loopback
allow-hot plug ens18
iface ens18 inet static
address 10.10.10.10/24
gateway 10.10.10.1
Proxmox config:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp8s0
iface enp8s0 inet static
address 65.**.**.84/24
gateway 65.**.**.65
# route 65.**.**.64/26 via 65.**.**.65
auto vmbr0
#private sub network
iface vmbr0 inet static
address 10.10.10.1/24
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 enp8s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp8s0 -j MASQUERADE
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 8447 -j DNAT --to 10.10.10.10:8447
Web Interface is now started
Please visit https://10.10.10.10:8447
Ive tried to route it but it is not working. Need help. First time working with NAT