Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
1:1 NAT not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: 1:1 NAT not working (Read 3297 times)
skawashkar
Newbie
Posts: 5
Karma: 0
1:1 NAT not working
«
on:
January 19, 2019, 10:12:14 am »
I am trying to replace pfsense by opnsense. I have a severe problem in getting 1:1 NAT to work.
I did 1:1 NAT to a DMZ server and have enabled hybrid outbound NAT rule generation.
But when typed the external IP, It lands at the firewall and does not pass to the DMZ server.
The same set up works fine with pfsense. I request for your kind help.
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: 1:1 NAT not working
«
Reply #1 on:
January 19, 2019, 12:48:12 pm »
Change your Type from NAT to BINAT. Change the mask from 24 to 32 (single host) and of course, uncheck the Disabled option ;-)
Save, apply changes
Bart...
Logged
skawashkar
Newbie
Posts: 5
Karma: 0
Re: 1:1 NAT not working
«
Reply #2 on:
January 19, 2019, 02:12:24 pm »
Thank you very I have done it exactly as you said. Now the external IP is NATting to the server locally and not globally.
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: 1:1 NAT not working
«
Reply #3 on:
January 19, 2019, 09:33:10 pm »
Quote from: skawashkar on January 19, 2019, 02:12:24 pm
Now the external IP is NATting to the server locally and not globally.
Does that mean it is working as you want it to?
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
1:1 NAT not working