Contabo - Proxmox - pfSense

jukisuki

New Member
Sep 26, 2024
2
0
1
Hi everyone,

I have trouble getting internet access to my VM's inside of proxmoxVE.
I have Contabo Dedicated server with one main and one additional IP.

I want to use one IP to access my proxmox host, and other one for pfsense, and then put all VM's behind pfSense.

Problem is my IP's do not have same gateway, and I can only configure one gateway.

HOST IP: 5.189.xx.xx/24
HOST GW: 5.189.xx.1

ADDITIONAL IP: 173.249.xx.xx/24
ADDITIONAL GW: 173.249.XX.1

--------------------------------------------------------------
This is my current configuration:

auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 5.189.xx.xx/24
gateway 5.189.xx.1

auto eth1
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 173.249.xx.xx/24
bridge-ports none
bridge-stp off
bridge-fd 0
up route add -net 173.249.xx.xx netmask 255.255.255.0 dev vmbr0
up ip route add 5.189.xx.xx/24 dev vmbr0

## I use vmbr1 as LAN network and attach it to pfSense as LAN interface, and later on every VM as LAN
auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0

I cant figure out correct configuration , and if I change anything on eth0, or even assing bridge to that interface, I lose access to my host.
Where am I making a mistake, do I need to add MAC address to vmbr0 maybe.

On pfSense I choose for the wan interface, static ipv4 configuration with gateway, but no internet on pfSense.

Thank you
 

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!