documentation:examples:fair_traffic_shaping_per_ip_with_ipfw-dummynet
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:examples:fair_traffic_shaping_per_ip_with_ipfw-dummynet [2020/05/14 23:13] – [Internet server configuration] olivier | documentation:examples:fair_traffic_shaping_per_ip_with_ipfw-dummynet [2020/05/14 23:32] (current) – [Traffic shaper configuration] olivier | ||
|---|---|---|---|
| Line 72: | Line 72: | ||
| < | < | ||
| sysrc hostname=R1 \ | sysrc hostname=R1 \ | ||
| - | gateway_enable=no \ | + | gateway_enable=no \ |
| ipv6_gateway_enable=no \ | ipv6_gateway_enable=no \ | ||
| - | ifconfig_vtnet4=" | + | ifconfig_vtnet4=" |
| ifconfig_vtnet4_ipv6=" | ifconfig_vtnet4_ipv6=" | ||
| rtsold_enable=" | rtsold_enable=" | ||
| Line 138: | Line 138: | ||
| < | < | ||
| - | sysrc hostname=R4 | + | sysrc hostname=R4 |
| - | sysrc ifconfig_vtnet4=" | + | ifconfig_vtnet4=" |
| - | sysrc ifconfig_vtnet4_ipv6=" | + | ifconfig_vtnet4_ipv6=" |
| - | sysrc ifconfig_vtnet3=" | + | ifconfig_vtnet3=" |
| - | sysrc ifconfig_vtnet3_ipv6=" | + | ifconfig_vtnet3_ipv6=" |
| - | sysrc rtadvd_enable=yes | + | rtadvd_enable=yes |
| - | sysrc rtadvd_interfaces=vtnet4 | + | rtadvd_interfaces=vtnet4 |
| - | sysrc dhcpd_enable=YES | + | dhcpd_enable=YES |
| - | sysrc dhcpd_flags=" | + | dhcpd_flags=" |
| - | sysrc dhcpd_conf="/ | + | dhcpd_conf="/ |
| - | sysrc dhcpd_ifaces=" | + | dhcpd_ifaces=" |
| - | sysrc firewall_enable=YES | + | firewall_enable=YES |
| - | sysrc firewall_script="/ | + | firewall_script="/ |
| cat > / | cat > / | ||
| Line 187: | Line 187: | ||
| # We don't want to block traffic, only shape some | # We don't want to block traffic, only shape some | ||
| ${fwcmd} add 3000 allow ip from any to any | ${fwcmd} add 3000 allow ip from any to any | ||
| - | EOF | + | 'EOF' |
| + | service hostname restart | ||
| service netif restart | service netif restart | ||
| service routing restart | service routing restart | ||
documentation/examples/fair_traffic_shaping_per_ip_with_ipfw-dummynet.1589490827.txt.gz · Last modified: 2020/05/14 23:13 by olivier
