unable to access the VM on the private network in Proxmox

cybercrow

New Member
Nov 8, 2024
2
0
1
It seems I’m facing an issue accessing my Proxmox VM on a private network. For instance, when I try the command telnet 192.168.1.104 5523, it doesn’t connect.

here's my promxox "/etc/network/interface" config:
"
auto vmbr0
iface vmbr0 inet static
address <my_publicIP>/26
gateway <my_publicGateway>
bridge-ports ens2f0
bridge-stp off
bridge-fd 0
mtu 8000

post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE

auto vmbr1
iface vmbr1 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
"

and here's my vm's netplan config :

"
network:
ethernets:
ens18:
addresses:
- 192.168.1.104/24
gateway4: 192.168.1.1
nameserver:
addresses: [my_publicDNS]
"
even cannot ping each other
 
I would first check if the VM is already set to the `vmbr1` and check if the firewall is enabled.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!