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
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