Hi I have been using openwrtx86 for 2 weeks (on and off) so totally newbie here, only really ever used windows, web ui interfaces and come from an Asus Merlin Router but am trying to move over to openwrtx86, so not quite expert networking skills. Have watched many Van tech videos to learn though that guy is great.
Very simple home set up. ISP Router (in modem mode) connected to openwrtx86 old PC with 4 port intel nic card, 2 devices (1 computer and Unifi Access point) connected via LANs.
I got the basics set up, LAN/Wan, 2 spare LAN ports (Bridged) and internet is working fine on home network all devices.
AirVPN has been set up as an WGVPN client and working successfully, I used Mullvad Wireguard setup guide but used AirVPN settings instead (ie dns,private/public keys etc). This works beautiful and maxes out my broadband speeds, also got pbr running with my devices using AirVPN or WAN (Clear isp net).
However my Firewall settings are blocking pbr from working successfully so I think I have something wrong with my firewall configuration.
These are the settings I currently use:
Add new firewall zone
From the Network drop-down menu, click on Firewall.Under Zones. Create a new zone and set it up as shown below. We named ours "WGZONE" (my AirVPN WG).
Input: reject
Output: accept
Forward: reject
Masquerading: checked
MSS clamping: checked
Covered networks: WGINTERFACE (my AirVPN WG)Click Save
Click on Edit the lan zone and set "Allow forward to destination zones" to WGZONE:WGINTERFACE" as the only option under allowed destinations.
I currently have no firewall settings in place (from mullvad guide above), I have to do this so it allows me to use AirVPN WG and pbr working on my devices, till I fix it so figured to ask here.
Would the mullvad vpn guide firewall settings work with pbr ?
(the settings appear similar to the ones exampled under pbr notes here I think)
What does this firewall VPN type zone do exactly?
And does anyone have a better way to do the Firewall settings correctly so they actually work with my Air or any VPN provider and with Policy based routing?
Appreciate any advice or tips here since its almost the final bit to get me up and running and fully convert to openwrtx86.