Has anyone managed to spin up an opnsense VM and assign a primary ip into it from hetzner?
For example consider the primary IP is 100.100.100.50:
You create a bridge like so:
Then you create a VM and install opnsense on it, whilst configuring it's WAN interface (which is vmbr0) you assign:
ip 100.100.100.50/26 gateway 100.100.100.65.
I personally thought this would work but I ended up with a box I could no longer reach.
And perhaps my knowledge of networking is not good so this scenario might never work at all...
What I also tried is to assign the IP on vmbr0 and create another bridge vmbr1 to act as WAN for the opnsense.
This does work but this means you have to route all your LAN traffic through vmbr1 so opnsense can process it.
I would love to hear some success stories if any ^_^
For example consider the primary IP is 100.100.100.50:
You create a bridge like so:
Code:
auto enp7s0
iface enp7s0 inet manual
auto vmbr0
iface vmbr0 inet static
bridge-ports enp7s0
bridge-stp off
bridge-fd 0
Then you create a VM and install opnsense on it, whilst configuring it's WAN interface (which is vmbr0) you assign:
ip 100.100.100.50/26 gateway 100.100.100.65.
I personally thought this would work but I ended up with a box I could no longer reach.
And perhaps my knowledge of networking is not good so this scenario might never work at all...
What I also tried is to assign the IP on vmbr0 and create another bridge vmbr1 to act as WAN for the opnsense.
This does work but this means you have to route all your LAN traffic through vmbr1 so opnsense can process it.
I would love to hear some success stories if any ^_^