OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Public ips on opt interface
« previous next »
  • Print
Pages: [1]

Author Topic: Public ips on opt interface  (Read 2977 times)

stretch

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Public ips on opt interface
« on: May 09, 2017, 09:39:56 pm »
Hi, I need my machines on the OPT interface to have real public ips configured on their interfaces

So machine A would have
IP 85.123.123.123
SUBNET 255.255.255.248
Do I make the GW the same as the opensense wan IP 85.123.123.122?

How do I configure opnsense to pass incoming traffic on wan to the right machine on opt?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17704
  • Karma: 1617
    • View Profile
Re: Public ips on opt interface
« Reply #1 on: May 09, 2017, 09:57:04 pm »
Hi stretch,

It's under Firewall: NAT: One to One, pretty straight-forward setup. :)


Cheers,
Franco
Logged

stretch

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Public ips on opt interface
« Reply #2 on: May 09, 2017, 11:16:57 pm »
Yeah I've used it for private to public i.e

10.0.0.1 > 85.123.123.123

but does it work for

85.123.123.123 > 85.123.123.123

Do I need to bridge interfaces?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17704
  • Karma: 1617
    • View Profile
Re: Public ips on opt interface
« Reply #3 on: May 11, 2017, 02:35:08 pm »
No, One to One is normally used for 85.123.123.123 (external secondary IP) -> 10.0.0.1 (internal IP), exactly what you described in your original post unless I misunderstood.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Public ips on opt interface
 

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