[SOLVED] VM MASQUERADE and Firewall issue

Karpiu

New Member
Sep 26, 2016
8
0
1
39
Poland
Hello,
I set MASQUERADE for all my VM on vmbr0 and all works fine until I set Firewall on interface for VM after that I can't go out to Internet. All my politics on input/out set for ACCEPT but still going out doesn't work at all. Did I miss something ? When Firewall is disabled all works well.
 
Thx for a hint, It works great but sad in this solution is manual adding to every VM/CT :(
In your iptables lane I had to add fwbr<VMID>i0 instead of <VMID>i0 in input interface:

Code:
iptables -t raw -A PREROUTING -i fwbr103i0 -j CT --zone 1

Is there any solution to turn this trick automatically ?
 
I already mailed with @dietmar and this is not expected behaviour, yet I do not know if this will be fixed in upcoming releases or not. I have not filed a bug report about this.
 

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!