This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
network:packet_filter:load_balance [2014/03/05 09:44] tschulz [Route traffic based on destination] |
network:packet_filter:load_balance [2014/03/05 09:44] tschulz |
||
---|---|---|---|
Line 1: | Line 1: | ||
* route-to roundrobin will not work with ftp since every transfer opens up a new connection | * route-to roundrobin will not work with ftp since every transfer opens up a new connection | ||
* use **round-robin proto tcp from $lan_net to any port !ftp flags S/SA modulate state** to exempt ftp | * use **round-robin proto tcp from $lan_net to any port !ftp flags S/SA modulate state** to exempt ftp | ||
- | <file config pf.conf> | + | <file pf pf.conf> |
# --------------- file /etc/pf.conf -------------------- | # --------------- file /etc/pf.conf -------------------- | ||
lan_net = "10.1.0.0/22" | lan_net = "10.1.0.0/22" |