OPNsense Forum

English Forums => General Discussion => Topic started by: loden_richard on September 02, 2015, 07:38:48 pm

Title: [Solved] Opt1 -> WAN no NAT ing
Post by: loden_richard on September 02, 2015, 07:38:48 pm
Hi,

I started configuring my OPT1 interface and so far no errors. Setup with hostap and wpa2 etc. done. DHCP also done. Now my clients get IP-addresses but can't reach the WAN interface. Am I forgeting something?

The IP-address of OPT1 is 192.168.2.1 with a range for dhcp of 192.168.2.0/24

my outbound NAT rules are as follows:

WAN      127.0.0.0/8 192.168.1.0/24 192.168.2.0/24    *    *    500    WAN address    *    YES    Auto created rule for ISAKMP     
WAN      127.0.0.0/8 192.168.1.0/24 192.168.2.0/24    *    *    *    WAN address    *    NO    Auto created rule 

I stuck somewhere and it would nice to know where.

Thanks for advice.
Title: Re: Opt1 -> WAN no NAT ing
Post by: AdSchellevis on September 02, 2015, 09:53:15 pm
Hi,

Have you added any firewall rules for this interface?
If you have, can you share some more information about your setup, like other configured interfaces/ranges and the default route used by this machine?

Cheers,

Ad
Title: [Solved] Re: Opt1 -> WAN no NAT ing
Post by: loden_richard on September 02, 2015, 10:11:45 pm
Hi Ad,

thank you for your hint to the firewall rules, I totally forgot about the "pass" rules. Added a rule from source Opt1 net to * with pass action.
Now it works like a charm.

Thank you again.
Title: Re: [Solved] Opt1 -> WAN no NAT ing
Post by: AdSchellevis on September 02, 2015, 10:18:05 pm
Thanks for your feedback, glad it's solved!