Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

Can you explain in detail what an openwrt firewall is?

Asked by Aalap Prabhakaran Jan 17, 2022 1.8K views 1 answer
Share

About this question

 I have my home network divided into multiple VLANs, with a main router running OpenWrt forwarding between VLANs, where each VLAN equals a firewall zone. Zone wan hosts the Internet router.

Firewall zone settings in Luci are:

default input=ACCEPT output=ACCEPT forward=REJECT
private->guest,nas,offsite,wan input=ACCEPT output=ACCEPT forward=REJECT
nas->offsite input=ACCEPT output=ACCEPT forward=REJECT
offsite->NIL input=ACCEPT output=ACCEPT forward=REJECT
guest->wan input=ACCEPT output=ACCEPT forward=REJECT
wan->NIL input=REJECT output=ACCEPT forward=REJECT MASQUERADING
Now, I have configured Luci's uhttpd to ONLY listen to the router's external IP address (192.168.2.1) in the private zone

uci delete uhttpd.main.listen_https; uci set uhttpd.main.listen_http=192.168.2.1:80; uci commit; /etc/init.d/uhttpd restartWhy can I still access 192.168.2.1, and thereby Luci, from a computer (e.g. 192.168.5.200) located for instance in the guest zone? I was expecting there to be no forwarding from guest->private, but it seems the input=ACCEPT of the guest zone makes the router accept the package addressed to him even the destination IP address is in the private zone.

Is that really intentional?

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.