Hi,
I have 4 public IPs from my ISP. Currently I am using two of them, one for Proxmox and the other one forwarded 1:1 to private IP of the VM.
So I've tried to forward it using iptables:
but that doesn't work on Proxmox. It works fine on any baisc Linux installation. I suspect this is because of vmbr interface. Do anyone know how to do this in Proxmox?
I have 4 public IPs from my ISP. Currently I am using two of them, one for Proxmox and the other one forwarded 1:1 to private IP of the VM.
So I've tried to forward it using iptables:
Code:
iptables -A FORWARD -p tcp --syn -s EXT_IP -m connlimit --connlimit-above MAX_CONN -j REJECT
iptables -A FORWARD -p tcp --syn -d EXT_IP -m connlimit --connlimit-above MAX_CONN -j REJECT
iptables -A FORWARD -s 0/0 -d EXT_IP -j ACCEPT
iptables -A FORWARD -s EXT_IP -d 0/0 -j ACCEPT
but that doesn't work on Proxmox. It works fine on any baisc Linux installation. I suspect this is because of vmbr interface. Do anyone know how to do this in Proxmox?