Skip to content

Instantly share code, notes, and snippets.

@jaywax jaywax/pf.conf
Created Dec 11, 2018

Embed
What would you like to do?
The part of pf.conf talking about anchor
anchor "tab_enfants_all_wif" in on $wif_if from <TAB_ENFANTS_WIF> to <INTERNET> tag TO_INTERNET {
anchor tcp proto tcp to port { http, https, $boombeach_jeux_port, $unknown_jeux_ports, $yokai_jeux_ports } {
block log quick
}
anchor udp proto udp to port { $pixel_gun3d_jeux_ports } {
block log quick
}
}
anchor "tel_enfants_all_wif" in on $wif_if from <TEL_ENFANTS_WIF> to <INTERNET> tag TO_INTERNET {
anchor tcp proto tcp to port { http, https } {
block log quick
}
anchor udp proto udp to port { $pixel_gun3d_jeux_ports } {
block log quick
}
}
anchor "pc_jeux_wif" in on $wif_if from { $asus_rose_wif, $obiwan_wif } to <INTERNET> tag TO_INTERNET {
anchor tcp proto tcp to port { $minecraft_jeux_ports, xmpp-client } {
block log quick
}
anchor udp proto udp to port { 3478:3479, 3544, 5060:5062, 6250, 9000:9200, 12000:65000 } {
block log quick
}
}
anchor "obiwan_web_wif" in on $wif_if from $obiwan_wif to <INTERNET> tag TO_INTERNET {
anchor tcp proto tcp to port { http, https} {
block log quick
}
# Just a hack because flux.ksh loads tcp and udp...
anchor udp proto tcp to port { http, https} {
block log quick
}
}
anchor "tab_college_all_wif" in on $wif_if from $tab_college_wif to <INTERNET> tag TO_INTERNET {
anchor tcp proto tcp to port { http, https, 7801 } {
block log quick
}
anchor udp proto udp to port { ntp } {
block log quick
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.