Lines 422-429
Link Here
|
422 |
|
422 |
|
423 |
[Ww][Oo][Rr][Kk][Ss][Tt][Aa][Tt][Ii][Oo][Nn]) |
423 |
[Ww][Oo][Rr][Kk][Ss][Tt][Aa][Tt][Ii][Oo][Nn]) |
424 |
# Configuration: |
424 |
# Configuration: |
425 |
# firewall_myservices: List of TCP ports on which this host |
425 |
# firewall_myservices_tcp: List of TCP ports on which this host |
426 |
# offers services. |
426 |
# offers services. |
|
|
427 |
# firewall_myservices: Alias for firewall_myservices_tcp |
428 |
# offers services. |
429 |
# firewall_myservices_udp: List of UDP ports on which this host |
430 |
# offers services. |
427 |
# firewall_allowservices: List of IPv4 and/or IPv6 addresses |
431 |
# firewall_allowservices: List of IPv4 and/or IPv6 addresses |
428 |
# that have access to |
432 |
# that have access to |
429 |
# $firewall_myservices. |
433 |
# $firewall_myservices. |
Lines 489-494
Link Here
|
489 |
for j in ${firewall_myservices} ; do |
493 |
for j in ${firewall_myservices} ; do |
490 |
${fwcmd} add pass tcp from $i to me $j |
494 |
${fwcmd} add pass tcp from $i to me $j |
491 |
done |
495 |
done |
|
|
496 |
for j in ${firewall_myservices_tcp} ; do |
497 |
${fwcmd} add pass tcp from $i to me $j |
498 |
done |
499 |
for j in ${firewall_myservices_udp} ; do |
500 |
${fwcmd} add pass udp from $i to me $j |
501 |
done |
492 |
done |
502 |
done |
493 |
|
503 |
|
494 |
# Allow all connections from trusted IPs. |
504 |
# Allow all connections from trusted IPs. |