OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: dcol on June 04, 2018, 05:20:33 pm

Title: Routing question
Post by: dcol on June 04, 2018, 05:20:33 pm
Question. I have two subnets. Both work fine by themselves.
LAN - 192.168.1.1/24 - Gateway 192.168.1.1
WLAN - 192.168.2.1/24 - Gateway 192.168.2.1

I have an AP on 192.168.2.2
How can I access 192.168.2.2 from 192.168.1.2 via http so I can make router setting changes?
Tried a floating rule without success. Suppose I need some sort of NAT rule.

Thanks!
Title: Re: Routing question
Post by: miroco on June 08, 2018, 11:40:17 pm
I'm also interested in an answer to this question. However, I'm no proficient enough to wrap my head around it, but I found an interesting Cisco-post where at least a related issue was discussed.

https://learningnetwork.cisco.com/thread/28157
Title: Re: Routing question
Post by: dcol on June 09, 2018, 12:55:03 am
That thread is even more confusing.

Anyone? If it can't be done, just let me know.

Thanks
Title: Re: Routing question
Post by: bartjsmit on June 09, 2018, 09:33:52 am
You don't need NAT between RFC1918 ranges. If both subnets have OPNsense as their default gateway, then routing cannot be the issue.

Any required firewall rule is likely to be on the WLAN interface, since the LAN interface is unrestricted by default.

Do you see any denies in your log? Can you curl to 192.168.2.2 from the OPNsense console? Does ping work?

Bart...
Title: Re: Routing question
Post by: dcol on June 09, 2018, 06:31:35 pm
Working after I made a LAN rule to go from my main desktop IP to the AP IP.
Thanks