Hello, I have a proxmox vm, had to do a NAT configuration since I only have 1 IP the providers give me and that IP is for the machine itself. Everything is configured, even the proxmox VMs have internet access and all great.
Problem is, services I open on the VMs inside my proxmox cant be reach from outside. I thought there has to be some kind of port forwarding but, iptables is not working for me to solve this issue...
My network config:
My iptable rule:
I have all firewalls on the Proxmox DISABLED.
Thanks for your time.
Problem is, services I open on the VMs inside my proxmox cant be reach from outside. I thought there has to be some kind of port forwarding but, iptables is not working for me to solve this issue...
My network config:
Code:
auto eno1
iface eno1 inet static
address 103.195.101.105/24
gateway 103.195.101.1
dns-nameservers 8.8.8.8
auto vmbr0
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 eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
My iptable rule:
Code:
iptables -t nat -A PREROUTING -i eno1 -p tcp --dport 80 -j DNAT --to-destination 10.10.10.101:80
I have all firewalls on the Proxmox DISABLED.
Thanks for your time.
Last edited: