@Wolfizen@pawb.social cover
@Wolfizen@pawb.social avatar

Wolfizen

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

Wolfizen , to homelab in Advice On Proposed Router Design
@Wolfizen@pawb.social avatar

Your router and wireless access point seem OK. The switch looks suspicious, there is conflicting information in the description, some parts indicate Managed and some indicate Unmanaged. I caution against that switch specifically.

Wolfizen , to homelab in Could someone explain these OpenWRT LuCI firewall settings to me? I am having trouble interpereting what they are saying exactly.
@Wolfizen@pawb.social avatar

I investigated more and it seems that one can indeed perform NAT with Linux netfilter without the Masquerade action. If one knows the address of the interface, simply using the “SNAT” action with a to-address of the outbound interface will achieve the same result as using the “MASQUERADE” action, as long as the address of the outbound interface does not change.

But, this fact only matters for the actual underlying netfilter. I should have been thinking about OP’s application specifically. For OpenWRT it probably does just mean Checked->NAT, Unchecked->No NAT.

Wolfizen , to homelab in Could someone explain these OpenWRT LuCI firewall settings to me? I am having trouble interpereting what they are saying exactly.
@Wolfizen@pawb.social avatar

Oh, thank you! I think I mixed up the option with something else. I appreciate the correction!

Wolfizen , to homelab in Could someone explain these OpenWRT LuCI firewall settings to me? I am having trouble interpereting what they are saying exactly.
@Wolfizen@pawb.social avatar

Everything you’ve said here also aligns with my knowledge!

I can add some additional information.

The Masquerade option changes how the packet rule behaves when performing in a NAT situation. When Masquerade is off, the rule is configured statically with each interface’s address when the rule is loaded. When Masquerade is on, the rule is evaluated dynamically every time against each interface’s current address.

If you are routing packets through an interface, and the interface’s address is dynamic (which is the case for most residential internet connections), you should have Masquerade ON to be able to route packets after the interface’s address changes during normal operation.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines