Hello
Who can help with understanding such question.
I have two VM with private ip addresses. One of them have rules to allow access by several ports from outside to public ip of the Proxmox.
So rules work - I have access to VM from outside.
But I need access from one VM to second VM - and I have, but by internal ip addresses, meanwhile I need from private ip(one VM) to public ip(second VM).
In which tables I require make such rule, and how does it look like?
Who can help with understanding such question.
I have two VM with private ip addresses. One of them have rules to allow access by several ports from outside to public ip of the Proxmox.
So rules work - I have access to VM from outside.
Code:
iptables -t nat -A PREROUTING -p tcp -d 116.XXX.XXX.99 --dport 8443 -j DNAT --to-destination 192.168.7.200:8443
But I need access from one VM to second VM - and I have, but by internal ip addresses, meanwhile I need from private ip(one VM) to public ip(second VM).
In which tables I require make such rule, and how does it look like?
Last edited: