File: firewall40-2.conf.orig

package info (click to toggle)
fwbuilder 5.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 41,192 kB
  • sloc: cpp: 185,790; sh: 71,182; ansic: 4,345; xml: 3,488; python: 83; makefile: 74; perl: 49
file content (28 lines) | stat: -rw-r--r-- 897 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28



# 
# Rule  0 (NAT)
# Translate source address
# for outgoing connections
match out on  le1 from 192.168.1.0/24 to any nat-to (le1) 
# 
# Rule  1 (NAT)
# Translate source address
# for outgoing connections
match out on  le2 from 192.168.1.0/24 to any nat-to (le2) 

# 
# Rule  0 (fxp0)
pass in   quick on fxp0 inet proto tcp  from 192.168.1.0/24  to any port { 80, 25 } no state  label "RULE 0 -- ACCEPT "  route-to { ( le1 192.0.2.10 ) } 
# 
# Rule  1 (fxp0)
pass in   quick on fxp0 inet proto tcp  from 192.168.1.0/24  to any port 22 no state  label "RULE 1 -- ACCEPT "  route-to { ( le2 192.0.3.10 ) } 
# 
# Rule  2 (fxp0)
pass in   quick on fxp0 inet proto tcp  from 192.168.1.0/24  to any port 22 flags any  label "RULE 2 -- ACCEPT "  route-to { ( le2 192.0.3.10 ) } 
# 
# Rule  fallback rule
#    fallback rule 
block  quick inet  from any  to any no state  label "RULE 10000 -- DROP "