File: physdev.ferm

package info (click to toggle)
ferm 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: perl: 2,839; sh: 126; makefile: 120
file content (12 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
table filter chain INPUT mod physdev {
    physdev-in (eth0 ppp0) DROP;
    physdev-in !eth1 ACCEPT;
    physdev-out ppp1 ACCEPT;
    physdev-out !ppp2 ACCEPT;
    physdev-is-in DROP;
    !physdev-is-in ACCEPT;
    physdev-is-out ACCEPT;
    !physdev-is-out DROP;
    physdev-is-bridged REJECT;
    !physdev-is-bridged ACCEPT;
}