VM firewall rule - Source -> Dest Port not working

Hugues Depasse

Renowned Member
Mar 2, 2016
7
1
68
34
Brussels, Belgium
Hello,

I'm trying to configure a port forwarding from 3390 to port 3389 but the rule does not work properly, the VM is directly accessible trough a dedicated public IPv4 so there's no NATing here.

My /etc/network/interfaces file :

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth1
iface eth1 inet dhcp

auto vmbr0
iface vmbr0 inet static
    address 62.210.XXXX
    netmask 255.255.255.0
    gateway 62.210.XXXXX
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    post-up echo 1 > /proc/sys/net/ipv4/ip_forward

Thanks a lot for your help
 
that is not portforwarding but an ACCEPT rule
the rule you configured lets all packets in on net0 wich is tcp and comes from port 3390 with a destination of 3389

port forwarding is not implemented in the gui (yet)
 

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!