Created
November 5, 2014 18:21
-
-
Save barn/b68a3aff7cc025750f4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if_em0="vlan100" | |
if_em1="vlan101" | |
if_maje="vlan20" | |
if_admin="vlan140" | |
if_be="vlan150" | |
if_be_dmz="vlan160" | |
if_be_wlan="vlan180" | |
# Interfaces externes | |
external_ifs="{" $if_em0 $if_em1 "}" | |
# Toutes les interfaces | |
all_ifs="{" $if_em0 $if_em1 $if_maje $if_admin $if_be $if_be_dmz $if_be_wlan "}" | |
pass out quick on $all_ifs proto tcp from any to 192.168.1.100 port 10000 flags S/SA keep state | |
pass out quick on $all_ifs proto udp from any to 192.168.1.100 port 10000 | |
pass in quick on $all_ifs proto udp from any to 192.168.1.100 port 10000 | |
pass in quick on $all_ifs proto tcp from any to 192.168.1.100 port 10000 flags S/SA keep state | |
pass out quick on $all_ifs proto tcp from 192.168.1.100 port 10000 to any flags S/SA keep state | |
pass out quick on $all_ifs proto udp from 192.168.1.100 port 10000 to any | |
pass in quick on $all_ifs proto udp from 192.168.1.100 port 10000 to any | |
pass in quick on $all_ifs proto tcp from 192.168.1.100 port 10000 to any flags S/SA keep state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment