File: example-2.fwall

package info (click to toggle)
libvirt-tck 0.1.0~2.git890d1c-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,128 kB
  • sloc: perl: 2,885; sh: 1,180; xml: 992; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 1,462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#iptables -L FI-vnet0 -n
Chain FI-vnet0 (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED /* out: existing and related (ftp) connections */ 
RETURN     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 state NEW /* out: DNS lookups */ 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           /* inout: drop all non-accepted traffic */ 
#iptables -L FO-vnet0 -n
Chain FO-vnet0 (1 references)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state ESTABLISHED /* in: existing connections */ 
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpts:21:22 state NEW /* in: ftp and ssh */ 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           state NEW /* in: icmp */ 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           /* inout: drop all non-accepted traffic */ 
#iptables -L HI-vnet0 -n
Chain HI-vnet0 (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED /* out: existing and related (ftp) connections */ 
RETURN     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53 state NEW /* out: DNS lookups */ 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           /* inout: drop all non-accepted traffic */