Hetzner Single NIC - MultiVM's and Pfsense

Udbytossen

Active Member
Apr 25, 2019
17
0
41
50
Hi Forum
I'm starting out with installing Proxmox, for having a Mailsetup installed at Hetzner. ANd I'm in doubt here - on how to do this little trick.

I having only one Public IP - attached as bridge vmbr0 - Where the proxmox Interface is attached to this vmbr0.
I have installed PFsense, as a VM connected my different Bridges to this VM along with the Internal setup.

So one Server one Ip - with Proxmox running. - Looking through different guides on internet - I do not get the clear idea on how to do this part.
From the guides on the Internet - I come this fat
On my Proxmox - Moved IP from Physical NIC - to VMBR0 - Working
created Several Private NICS which is attached to my PFsense for
vmbr0 --> WAN ADDRESS
vmbr1 --> Administration subnet
vmbr2 --> Mailserver
vmbr3 --> Webserver

My Plan is normally administrate this server through VPN login on the PFsense
SO - I should do the following to jobs here :

1. Moved Proxmox Administration to vmbr1 (Administation subnet) so the Proxmox Interface would be binded to the vmbr1

2. Attached the Public IP to WAN interface on my PFSense
And as I see it - This should be done in one config .
I have no issus on my PFsense, so this is only regarding on How I moved the public IP in vmbr0 from proxmox to Pfsense
I can find something regarding a VLAN on - but I cannot find a clear solution for this and well - Dont wanna reinstall over and over again

I have in the vSwitch at Hetzner configured as VLAN4000, but can not find a secure installation guide /howto on how I do this

My Existing /etc/network/interface
Code:
#auto enp41s0
#iface enp41s0 inet static
#
auto  vmbr0
iface vmbr0 inet static
  address 65.XX.XX.XX
  broadcast 65.XX.XX.XX
  netmask 255.255.255.192
  gateway 65.XX.XX.XX
  bridge_hw enp41s0
  bridge_ports enp41s0
  bridge_waitport 0
  bridge_stp off
  bridge_fd 0

 ## Virtualt Network - ADMIN 192.168.100.1/28
auto vmbr1
iface vmbr1 inet manual
  bridge_ports none
  bridge_stp off
  bridge_fd 0

 ## Virtualt Network - MAIL 192.168.150.1/28
auto vmbr2
iface vmbr2 inet manual
  bridge_ports none
  bridge_stp off
  bridge_fd 0

 ## Virtualt Network - WEB 192.168.160.1/28
auto vmbr3
iface vmbr3 inet manual
  bridge_ports none
  bridge_stp off
  bridge_fd 0

My Guess is something like I should add some more to the differnet - but not sure how and why - with out errors.
 
Last edited:
Sorry dont understant what the problem.
when i see your config file of your network,
i dont see anyrules iptables ? nat to pfsense ?
its a miss ? or you dont want to take screen, because the problem is not here ?

thx for your return
 

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!