anneso@serv1:~$ cat /etc/exports | grep -v "^#" | grep -v "^$"
/home/test
192.168.10.2(ro,rw,no_subtree_check)
192.168.10.3(ro,rw,no_subtree_check)
anneso@serv1:~$ cat /etc/hosts.allow | grep -v "^#" | grep -v "^$"
anneso@serv1:~$ cat /etc/hosts.deny | grep -v "^#" | grep -v "^$"
serv1:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
ACCEPT igmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
ACCEPT tcp -- anywhere anywhere tcp dpt:sunrpc
ACCEPT udp -- anywhere anywhere udp dpt:sunrpc
ACCEPT tcp -- anywhere anywhere tcp dpt:nfs
ACCEPT udp -- anywhere anywhere udp dpt:nfs
ACCEPT tcp -- anywhere anywhere tcp dpts:32765:32768
ACCEPT udp -- anywhere anywhere udp dpts:32765:32768
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
Chain OUTPUT (policy ACCEPT)
target prot opt source destination