Multiple Public IPs

Started by wolfpack, April 18, 2019, 11:03:13 PM

Previous topic - Next topic
I have 5 public IPs available from my host provider. OPNSense is running as a Proxmox VM. Proxmox uses one of the IPs, I would like to assign the other 4 IPs to my OPNSense router to route those IPs to various other Proxmox VMs, which will be connected via a separate proxmox bridge.

Essentially, simulating a private/public network. I only have one gateway address given by the host provider

It seems like this should be doable, but I can only assign a gateway to one network controller. Each external IP can be it's own network as long as I can route it through the same opnsense instance to any of the VMs on the 'private' network.

This would allow me to, for example, route domain1.com port 80 through IP#1, route domain2.com port 80 through IP#2 - maybe to the same internal webserver listening on a different port through port forwarding, etc.

I could set up 4 different instances of opnsense, but I don't see a reason why this shouldn't be doable using a single instance.

you can use "Virtual IPs".....

or if you just need nat for http port, you can use one ip and configurate your web server with virtual host.