Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Presenting all IP's on WAN interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: Presenting all IP's on WAN interface (Read 2780 times)
ramon
Newbie
Posts: 2
Karma: 0
Presenting all IP's on WAN interface
«
on:
August 28, 2019, 04:20:43 pm »
Dear, I am a newbie when it comes to OPNSense.
From our ISP we got 5 available usable IP Addresss. the first 2 addresses and the last are fixed and therefore not usable. The ISP modem is already set in Bridge mode.
Now at configuration you have to specify the WAN IP with subnet mask. However the other addresses are not being directed to the firewall, unless you change the interface IP.
How can I make sure that all available addresses are being presented to the firewall?
Cheers,
Ramon.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Presenting all IP's on WAN interface
«
Reply #1 on:
August 30, 2019, 03:52:52 pm »
Hi Ramon,
You use 1:1 NAT for this purpose. You add your additional IP mappings there, usually to an internal server in your LAN:
https://docs.opnsense.org/manual/nat.html#one-to-one
Cheers,
Franco
Logged
ramon
Newbie
Posts: 2
Karma: 0
Re: Presenting all IP's on WAN interface
«
Reply #2 on:
October 02, 2019, 12:33:18 pm »
Hi Franco,
Thank you for you reply. I havedn't been online recently, therefore I could reply earlier.
I am still struggling with the config.
From my ISP I've got IP range x.x.x.50/29.
.50 is the network address
.51 is the gateway
.52 is not used
and
.53 is configured on the WAN interface.
.54, .55 and .56 are not used, yet.
.57 is the broadcast.
Now I want to use the WAN .54 address to an internal server. So i created the one-to-one as you suggested.
As the subnet mask of the WAN and LAN are different I need the one-to-one entry type set to "NAT", so I can specify the mask on the external.
I've also created a WAN firewall rule from any to the specific internal server.
Still I am uable to connected.
What am I missing?
Thank you,
Ramon
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Presenting all IP's on WAN interface