OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: veptune on September 22, 2024, 03:07:21 PM

Title: "Automatic outbound NAT rule generation" not works when the WAN not public IP
Post by: veptune on September 22, 2024, 03:07:21 PM
Hello all,

My WAN and LAN interfaces have both private IP (as I my OPNsense is in AWS VPC).

I have use the defaul setting for NAT :

Automatic outbound NAT rule generation
(no manual rules can be used)

But the NAT was not done. I had to select

Hybrid outbound NAT rule generation
(automatically generated rules are applied after manual rules)

is it normal?

Thanks
Title: Re: "Automatic outbound NAT rule generation" not works when the WAN not public IP
Post by: Bob.Dig on September 22, 2024, 06:09:38 PM
Quote from: veptune on September 22, 2024, 03:07:21 PM
is it normal?
Not for me but I don't use AWS VPC. It looks like you have no WAN-type interface, only LAN-type interfaces. Set the gateway in the interface config of your WAN (IPv4 gateway rules).