This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| advanced-firewall [2024/11/27 00:39] – [Multicast] -Formatting, condense, add explanation of Force IGMPv2 setting hogwild | advanced-firewall [2026/07/23 17:43] (current) – Condense, clarity for Enable TCP Syn Packets hogwild | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The Firewall page allows you to configure options to protect or facilitate various types of network communications. | The Firewall page allows you to configure options to protect or facilitate various types of network communications. | ||
| - | |||
| ===== Firewall ===== | ===== Firewall ===== | ||
| - | {{:pasted:20220118-182859.png}} \\ | + | {{::advanced-firewall-1.jpg?364}} \\ |
| \\ **WAN interfaces respond to ping and traceroute: | \\ **WAN interfaces respond to ping and traceroute: | ||
| Line 16: | Line 15: | ||
| **Limit communication to: **specifies the maximum number of requests per second to which the Firewall replies. | **Limit communication to: **specifies the maximum number of requests per second to which the Firewall replies. | ||
| - | Setting a limit is recommended to prevent DDoS attacks.\\ | + | Setting a limit is recommended to prevent DDoS attacks.\\ |
| - | \\ | + | {{:: |
| - | **Enable TCP SYN cookies: | + | |
| - | It encodes information from the SYN packet into the (SYN/ACK) response. | + | This uses a standard method for preventing SYN floods. |
| \\ | \\ | ||
| Line 32: | Line 31: | ||
| **Allow DHCP Spoofing: **makes FreshTomato accept/ | **Allow DHCP Spoofing: **makes FreshTomato accept/ | ||
| - | Such behaviour is often categorized as a DHCP spoofing attack, but rarely, might be legitimate. Using this lowers security.\\ \\ | + | Such behaviour is often categorized as a DHCP spoofing attack, but rarely, might be legitimate. Using this lowers security. |
| - | **Smart MTU black hole detection: | + | |
| - | For details on MTU and black holes, see this blog post: [[https:// | + | **Smart MTU black hole detection: |
| + | |||
| + | For details on MTU and black holes, see this blog post: [[https:// | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **TCP MSS Clamping: | ||
| + | |||
| + | This adjusts the Maximum Segment Size of forwarded TCP connections on WAN and VPN interfaces to match the discovered path MTU. | ||
| + | |||
| + | This helps avoid MTU-related connection problems, especially on PPPoE links, VPN tunnels, IPv6 tunnels, or networks with blocked ICMP fragmentation-needed messages. | ||
| + | |||
| + | Disabling this option reduces the number of firewall rules and may slightly improve performance on low-end routers, but can cause connection stalls or TLS handshake timeouts on links with reduced MTU. | ||
| + | |||
| + | Recommended setting: enabled, unless MTU/MSS is handled manually or the network works reliably without MSS clamping. | ||
| ===== NAT ===== | ===== NAT ===== | ||
| - | **NAT loopback:** lets LAN devices access each other via the router' | + | **NAT loopback:** lets LAN devices access each other via the router' |
| + | |||
| + | Also known as " | ||
| \\ | \\ | ||
| Line 55: | Line 70: | ||
| \\ | \\ | ||
| - | **NAT target: **defines how NAT is implemented in loopback situations. | + | **NAT target: **defines how NAT is implemented in loopback situations. |
| - | + | ||
| - | \\ | + | |
| + | Masquerade is the default, but involves an additional lookup, and the mapping is done towards an interface. SNAT is minutely faster, as its NAT mapping points directly to the destination IP, thus bypassing the lookup stage. However, SNAT is less reliable than Masquerade.\\ | ||
| ===== Multicast ===== | ===== Multicast ===== | ||
| - | \\ \\ {{: | + | \\ {{: |
| **Enable IGMP proxy: **enables the Internet Group Management Protocol service. | **Enable IGMP proxy: **enables the Internet Group Management Protocol service. | ||
| Line 107: | Line 121: | ||
| **Max clients: **the maximum number of simultaneous Udpxy clients. | **Max clients: **the maximum number of simultaneous Udpxy clients. | ||
| - | Udpxy is is a lightweight protocol, so it works well for a limited number of clients. You might want to impose | + | Udpxy is is a lightweight protocol, so it works well for a limited number of clients. You might want to set a maximum limit. |
| \\ | \\ | ||
| **Udpxy port: **specifies the port on which to receive Udpxy information from your router.\\ | **Udpxy port: **specifies the port on which to receive Udpxy information from your router.\\ | ||
| - | |||
| - | \\ | ||
| **Efficient Multicast Forwarding (IGMP Snooping): **IGMP snooping makes the router' | **Efficient Multicast Forwarding (IGMP Snooping): **IGMP snooping makes the router' | ||