This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| advanced-firewall [2022/01/18 19:13] – rs232 | advanced-firewall [2024/11/27 00:42] (current) – [Multicast] hogwild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Firewall ====== | ||
| + | |||
| + | The Firewall page allows you to configure options to protect or facilitate various types of network communications. | ||
| + | |||
| + | |||
| ===== Firewall ===== | ===== Firewall ===== | ||
| - | The Firewall page allows you to set up some options | + | {{: |
| + | |||
| + | \\ **WAN interfaces respond | ||
| + | |||
| + | This is needed for //ping //and // | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **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.\\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable TCP SYN cookies: | ||
| + | |||
| + | It encodes information from the SYN packet into the (SYN/ACK) response. It is a standard method for preventing SYN floods. However, it has limitations that may cause issues with some old TCP/IP stacks. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable DCSP Fix: **enables a workaround for packet marking, a well-known DCSP issue when using Comcast. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **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.\\ | ||
| + | |||
| + | **Smart MTU black hole detection: | ||
| + | |||
| + | For details on MTU and black holes, see this blog post: [[https:// | ||
| + | |||
| + | |||
| + | ===== NAT ===== | ||
| + | |||
| + | **NAT loopback:** lets LAN devices access each other via the router' | ||
| + | |||
| + | Also known as " | ||
| + | |||
| + | \\ | ||
| + | |||
| + | * All | ||
| + | * Forwarded Only | ||
| + | * Disabled | ||
| + | |||
| + | \\ | ||
| + | |||
| + | {{:: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **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 ===== | ||
| + | |||
| + | \\ \\ {{: | ||
| + | |||
| + | **Enable IGMP proxy: **enables the Internet Group Management Protocol service. | ||
| + | |||
| + | LAN0 - LAN3 specify which bridges will participate in IGMP, with the router acting as a proxy between chosen LANs. This lets IGMP work between VLANs. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | * LAN0 - Causes the LAN0 bridge to join in IGMP proxy. | ||
| + | * LAN1 - Causes the LAN1 bridge to join in IGMP proxy. | ||
| + | * LAN2 - Causes the LAN2 bridge to join in IGMP proxy. | ||
| + | * LAN3 - Causes the LAN3 bridge to join in IGMP proxy. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable quick leave:** this IGMPv2 feature lets the router stop multicasting to an IP that has sent it a "quick leave" packet. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Custom Configuration: | ||
| + | |||
| + | \\ {{: | ||
| + | |||
| + | **Enable Udpxy: **like IGMP proxy, this lets devices on different VLANs do multicast communications. | ||
| + | |||
| + | Since they are similar, use one or the other, but not both at the same time. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Upstream interface: **here, enter the expected stream source location. | ||
| + | |||
| + | (Default: blank). | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **LAN0/ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Enable client statistics: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **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 set a maximum limit. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Udpxy port: **specifies the port on which to receive Udpxy information from your router.\\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Efficient Multicast Forwarding (IGMP Snooping): **IGMP snooping makes the router' | ||
| + | |||
| + | However, caution is advised. IGMP Snooping can interfere with functioning of UPnP or DLNA. This can make Multicast configuration errors or deficiencies appear as UPnP issues. Enabling IGMP snooping on a router' | ||
| + | |||
| + | A common symptom of this is a network | ||
| + | |||
| + | \\ | ||
| + | |||
| + | **Force IGMPv2: **forces IGMPv2 to be used on the network. | ||
| + | |||
| + | IGMPv2 enhances IGMP with additional messages/ | ||
| + | |||
| + | \\ | ||
| - | {{:pasted: | + | Other features of IGMPv2 include: |
| - | **WAN interfaces respond to ping and traceroute** - When enabled this option allows your device to respond to certain ICMP/UDP packets so that a '' | + | |
| - | **Limit communication to**: This number imposes a maximum number of requests per seconds. It is advised to set up a limit to prevent DDOS attacks.\\ | + | |
| - | {{:pasted: | + | Group specific membership query: Now, the router |
| - | **Enable TCP SYN cookies** - Enabling this will protect | + | |
| - | **Enable DCSP Fix** - This enables a work-around for a well-known issue related SCP (packet marking) when connected | + | |
| - | **IPv6 IPSec Passthrough** - FIXME\\ | + | |
| - | {{: | + | MRT (Maximum Response Time) field. This new field in query messages specifies how much time hosts have to respond |
| - | **NAT loopback** - NAT loopback a.k.a Hairpinning is a well know technique that allows LAN devices to access another LAN device via the WAN interface of your router. This is common practice when calling e.g. the DDNS domain of your router from the LAN for administration purpose. Please | + | |
| - | **NAT target** - Define the way NAT is implemented for the sake of Hairpinning. Masquerade is the default however this involves an additional lookup ad the mapping of done towards an interface. SNAT is faster (if ever measurable) as the NAT mapping point directly | + | |
| - | Multicast\\ | + | Querier election process. When two routers are on the same subnet, only one should send query messages. Having an " |
| - | {{: | + | |
| - | **Enable IGMP proxy** - Runs the IGMP (Internet Group Management Protocol) for your router.\\ | + | |
| - | **LAN0/ | + | |
| - | **Enable quick leave** - This is a feature of IGMP v2 and allows the router to stop streaming of the multicast | + | |
| - | **Custom Configuration** - This option allows you to set up some advanced parameters for the IGMP proxy daemon. Make sure to consult | + | |
| - | {{: | + | \\ |
| - | **Enable Udpxy** - Similarly to IGMP proxy Udpxy allows multicast communication between sender and receiver sitting in different VLANs. NOTE: since the behavior is pretty much identical you should use either but not both at the same time.\\ | + | |
| - | **Upstream interface** - leave empty for default - Defines where the stream source is expected to live.\\ | + | |
| - | **LAN0/ | + | |
| - | **Enable client statistics** - As the option suggest if enabled statistical information about the clients is collected. | + | |
| - | **Max clients** - Considering this is a lightwave protocol it works well for a limited number of clients, you might want to impose a maximum number if any.\\ | + | |
| - | **Udpxy port**- This is where you can consult the Udpxy information on your router.\\ | + | |
| - | {{: | + | \\ \\ |
| - | **Efficient Multicast Forwarding (IGMP Snooping)** - IGMP snooping is a way to have the switch (router) facilitating the discovery of multicast (IGMP) clients. Beware that enabling IGMP snooping might interfare with some multicast based applications/ | + | |
| - | **Force IGMPv2** - IGMPv2 enhances the IGMP communication supporting additional messages/ | + | |