OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Multiple Public IPs
« previous next »
  • Print
Pages: [1]

Author Topic: Multiple Public IPs  (Read 2574 times)

wolfpack

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Multiple Public IPs
« on: April 18, 2019, 11:03:13 pm »
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.
Logged

cancino

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Multiple Public IPs
« Reply #1 on: May 02, 2019, 07:35:53 pm »
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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Multiple Public IPs
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2