Firewall blocking traffic within lan zone

I didn't connected the Proxmox server to the router directly.
Then I wanted to add port 1 back to br-lan and the router became inaccessible and had to get a paperclip.

So now on attempt #3.
Before I restored the internet connection I tested the Proxmox server connected to OpenWRT. Works.
Proxmox connected to unmanaged switch.
Works.

Now I have wan and lan.
What is the next step? Add dmz interface?

Where/how did you connect it?

Why were you changing the port assignments. my recommendation was to keep the configuration as close to the defaults as reasonably possible for this test.

So please confirm...

  • right now, you can connect from a laptop on wifi > proxmox sever as expected, right?

Yes, this is fine. Add the DMZ interface and then test the laptop (on the lan, not the dmz) > proxmox again.

  • removed port 2 from br-lan
  • created interface dmz and firewall zone dmz

ping/ssh proxmox works.
Next step: Remove all Zone forwards in the firewall?

The only one that should exist (in the default config) that you would remove for your goals is the lan > wan forward. Removing that will cause the lan to lose all upstream/internet access.

Go ahead and remove that, then test again.

That's not one of my goals. The goals for the firewall are:

  • lan -> wan Yes
  • wan -> lan Established/Related only
  • lan -> dmz Yes
  • dmz -> lan NO
  • dmz -> wan Yes
  • wan -> dmz Yes

I would like to achieve this by allowing this and not by blocking traffic I don't want.

If you want unrestricted lan > wan, leave the forward as it is. This is contrary to your earlier goal:

No changes necessary. This is the normal behavior.

Add a forward for this (again, if unrestricted).

By default, this will be the case as long as the dmz network is in a separate firewall zone. Therefore, no action required.

Add a forward from dmz > wan (again, assuming unrestricted)

Assuming unrestricted, add a forward from wan > dmz.
For this to work from a functional standpoint, there are two other things needed:

  • remove masquerading on the wan zone
  • add a static route on the upstream router for the dmz network.

Assuming that the list of traffic you want to block is smaller than the traffic you want to allow, this is fine.

Done.

Done.

All done. Upstream router already done when installed, so no changes there.
Tested dmz -> lan: Fails (which is good).

Can I, as a last step, remove/disable IPv6?

Yes, if you want to disable IPv6, go ahead and remove the wan6 interface and the IPv6 related items in the lan DHCP server config. Leave everything else alone.

Thanks for your help configuring my router.