Hi I only have on single public ip bound to my mac address, so I set up the default network card as described here: https://pve.proxmox.com/wiki/Network_Configuration (Masquerading)
public ip 192.170.64.54 -> to eno1
private network 10.10.10.0/24 -> on vmbr0
all vm's are connected to vmbr0 in the 10.10.10.0/24 network
Now I need to access a webserver on one vm machine (10.10.10.3), set up iptables port forwarding like that:
put I can't reach it from within the 192.170.64.0/24 network, what am I missing here?
Best regards Max
public ip 192.170.64.54 -> to eno1
private network 10.10.10.0/24 -> on vmbr0
all vm's are connected to vmbr0 in the 10.10.10.0/24 network
Now I need to access a webserver on one vm machine (10.10.10.3), set up iptables port forwarding like that:
Code:
iptables -t nat -A PREROUTING -p tcp --dport 8888 -j DNAT --to-destination 10.10.10.3:80
iptables -t nat -A POSTROUTING -p tcp -d 10.10.10.3 --dport 80 -j SNAT --to-source 192.170.64.54
put I can't reach it from within the 192.170.64.0/24 network, what am I missing here?
Best regards Max