OPNsense Forum

English Forums => General Discussion => Topic started by: skawashkar on January 19, 2019, 10:12:14 am

Title: 1:1 NAT not working
Post by: skawashkar 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.
Title: Re: 1:1 NAT not working
Post by: bartjsmit 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...
Title: Re: 1:1 NAT not working
Post by: skawashkar 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.
Title: Re: 1:1 NAT not working
Post by: bartjsmit on January 19, 2019, 09:33:10 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...