Public ips on opt interface

Started by stretch, May 09, 2017, 09:39:56 PM

Previous topic - Next topic
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?

Hi stretch,

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


Cheers,
Franco

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?

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