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.
 
Can you please check the output of the `ip route` in the VM? The output should indicate your gateway `192.168.1.1`. Additionally, what say the ping to the gateway?