Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:firewall:fw3_configurations:fw3_config_examples [2022/10/27 20:00] – formatting vgaeteradocs:guide-user:firewall:fw3_configurations:fw3_config_examples [2022/10/30 21:06] – [Firewall IPv4 examples] vgaetera
Line 1: Line 1:
-====== fw3 IPv4 configuration examples ======+====== IPv4 firewall examples ======
 This section contains a collection of useful [[docs:guide-user:firewall:overview|firewall]] configuration examples based on the UCI configuration files. This section contains a collection of useful [[docs:guide-user:firewall:overview|firewall]] configuration examples based on the UCI configuration files.
 All of these can be added on the LuCI //Network -> Firewall -> Traffic Rules// page. All of these can be added on the LuCI //Network -> Firewall -> Traffic Rules// page.
Line 55: Line 55:
 It will not match any other src IP address. It will not match any other src IP address.
  
-:!: When using an IPv4 address set the family to **ipv4**, otherwise fw3 warns ''! Skipping due to different family of ip address''.+:!: When using an IPv4 address set the family to **ipv4**, otherwise firewall warns ''! Skipping due to different family of ip address''.
  
 ===== Block WAN-side networks and ports ===== ===== Block WAN-side networks and ports =====
Line 264: Line 264:
  # let it pass  # let it pass
 </code> </code>
- 
-This will create a lot of "automatic" iptables rules (because automatic scripting is not as efficient as raw iptable commands in ''/etc/firewall.user'') but those rules will be more clear in the luci webinterface and also more readable for less expert users. 
  
 In general remember that forwardings are relying how routing rules are defined, and afterwards which zones are defined on which interfaces. In general remember that forwardings are relying how routing rules are defined, and afterwards which zones are defined on which interfaces.
  • Last modified: 2023/10/14 06:21
  • by vgaetera