OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [Solved] Opt1 -> WAN no NAT ing
« previous next »
  • Print
Pages: [1]

Author Topic: [Solved] Opt1 -> WAN no NAT ing  (Read 5327 times)

loden_richard

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
[Solved] Opt1 -> WAN no NAT ing
« 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.
« Last Edit: September 02, 2015, 10:12:18 pm by loden_richard »
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 907
  • Karma: 184
    • View Profile
Re: Opt1 -> WAN no NAT ing
« Reply #1 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
Logged

loden_richard

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
[Solved] Re: Opt1 -> WAN no NAT ing
« Reply #2 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.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 907
  • Karma: 184
    • View Profile
Re: [Solved] Opt1 -> WAN no NAT ing
« Reply #3 on: September 02, 2015, 10:18:05 pm »
Thanks for your feedback, glad it's solved!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [Solved] Opt1 -> WAN no NAT ing
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2