New Device Option in Firewall Config

I came across this recent forum post reply that caught my eye.

Stunning info!!!!! This made eminent sense to me. After all the time and anguish it took to get to my working solution through forums and wiki. :slight_smile:

But, how does the casual joe hear about these changes, because frankly I can't find anything on the forum or wiki about this New Device Option in Firewall Config

I went ahead and followed what I figured needed changed from the post content and I removed from my firewall VPN config:

config zone
	option network 'vpn0'
	option output 'ACCEPT'
	option name 'vpn0'
	option input 'REJECT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config forwarding
	option src 'lan'
	option dest 'vpn0'`
 

and then added the mentioned

list device vpn0

Under the WAN ZONE section

Low and behold, after restarting Network/Firewall/OpenVPN/Vpn-Poilicy-Routing, it does just what my mind said it should do - WORKED AS EXPECTED.

So, the question is: Where/How do I/We find out about this stuff!!!!!!!!

Well, Mea Culpa!!! Apparently my search skills seem to be lacking :frowning: though from the dates in your links, I have to wonder about when the new device option timeline was referring.

List of L3 network interface names attached to this zone, e.g. tun+ or ppp+ to match any TUN or PPP interface. Avoid using device if you have already defined network. Using network is preferable in general unless the interface is undeclared.

Frankly, I've gone over this many times but with all due respect as the wiki author, it didn't register. The simple statement to me as a lay person:

was immediately intuitive, absorbed, and applied without a hitch. Never saw anything similar in any guides.

I guess that's my point.

It has been mentioned here for a couple of years:
https://openwrt.org/docs/guide-user/services/vpn/openvpn/client#firewall

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.