OPNsense Forum

English Forums => General Discussion => Topic started by: pleibling on June 14, 2023, 08:59:39 PM

Title: OPNsense has NAT Problem
Post by: pleibling on June 14, 2023, 08:59:39 PM
Hi,

i have two Interfaces (Server vlan0.33 Tag 33 and Security vlan0.50 Tag 50).

Both are allowed via AutoNAT - Internetconnection from Servernetworks works via NAT - but Security not, the settings looks same.


Title: Re: OPNsense has NAT Problem
Post by: pleibling on June 14, 2023, 09:01:43 PM
Here are the Firewallrules.
Title: Re: OPNsense has NAT Problem
Post by: meyergru on June 15, 2023, 08:26:57 AM
I did not look into your rules, but as a general rule: NAT alone is not sufficient to be able to create a connection.

For LAN, there is a default "allow to any rule", for self-created interfaces, you have to create a rule yourself. Remember to block inter-LAN access, though.
Title: Re: OPNsense has NAT Problem
Post by: chemlud on June 15, 2023, 08:45:32 AM
Are you sure SERVER is running? The last rule for SERVER only allows ICMP, while for SECURITY any ipv4 protocol is allowed...