[SOLVED] Firewall auto-add MASQUERADE rule

Altinea

Active Member
Jan 12, 2018
33
7
28
42
Hello,
We just activate firewall on a Proxmox 4.4 installation.

We observed that proxmox automatically add a masquerade rule :
# iptables-save |grep MASQ
-A POSTROUTING -o vmbr0 -j MASQUERADE

So we need to delete this rule at every reboot or the VMs are seeing connections from the hypervisor instead of 'real' clients IPs (each VM has its own public address).

Is it normal ? Desired ? I don't really see why. Did I miss something in the firewall config ?

Best regards,
Julien
 
This does not come from PVE. Maybe you have a left-over 'post-up' rule in your /etc/network/interfaces file?
 
Hello,
Found it ! Nothing in interfaces but I installed a P2P VPN named tinc that added this rule.

Sorry about that, I should have found this by myself.

Best regards,
Julien
 

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!