Prerouting and Postrouting with new Proxmox Firewall

kamzata

Renowned Member
Jan 21, 2011
219
9
83
Italy
My host have 1 public IP address bind on vmbr0. To allow access from/to my CT to/from internet I used to use prerouting and postroutin rule. Now I'm trying to use new build-in proxmox firewall to get the same result but I don't know how since NAT isn't present (or is it? Where???) and wiki doesn't mention about it.

How can I do this?
 
Last edited:
Hi,

proxmox firewall don't manage prerouting and postrouting yet. So you need to do it manually like before.

Also note than when firewall is enabled, you need extra iptables rules to get PREROUTING|POSTROUTING work.


iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1

iptables -t raw -I POSTROUTING -i fwbr+ -j CT --zone 1


and kernel 3.10
 
Hi,

proxmox firewall don't manage prerouting and postrouting yet. So you need to do it manually like before.

Also note than when firewall is enabled, you need extra iptables rules to get PREROUTING|POSTROUTING work.


iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1

iptables -t raw -I POSTROUTING -i fwbr+ -j CT --zone 1


and kernel 3.10

ok, thank you
 
You miss this in the wiki Dietmar:

iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
iptables -t raw -I POSTROUTING -i fwbr+ -j CT --zone 1
 

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!