Hi,
iam trying to secure the proxmox host (dedicated server at hetzner) via a vm firewall (in this case opnsense).
But iam not really sure how to do it.
The functionallity i now have is:
I have 2 Public IP-Addresses one for the proxmox host and one for the opnsense vm.
The opnsense vm is working as gateway and firewall for all the vms in the private network (10.0.0.0/24)
Is it even possible to set the proxmox host behind this vm firewall?
Iam providing my network config i have right now.
iam trying to secure the proxmox host (dedicated server at hetzner) via a vm firewall (in this case opnsense).
But iam not really sure how to do it.
The functionallity i now have is:
I have 2 Public IP-Addresses one for the proxmox host and one for the opnsense vm.
The opnsense vm is working as gateway and firewall for all the vms in the private network (10.0.0.0/24)
Is it even possible to set the proxmox host behind this vm firewall?
Iam providing my network config i have right now.
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address ***.***.***.124
netmask 255.255.255.224
gateway ***.***.***.97
pointopoint ***.***.***.97
bridge_ports eno1
bridge_stp off
bridge_fd 0
up ip route add ***.***.***.58/32 dev vmbr0
up ip route add 10.0.0.0/24 via ***.***.***.58 dev vmbr0
up sysctl -w net.ipv4.ip_forward=1
up sysctl -w net.ipv4.conf.eno1.send_redirects=0
auto vmbr30
iface vmbr30 inet static
address 10.0.0.0
netmask 255.255.255.0
bridge_ports none
bridge_stp off
brdige_fd 0