~mdw
/
firewall
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*.m4: Actually allow NFS to untrusted hosts.
[firewall]
/
telecaster.m4
diff --git
a/telecaster.m4
b/telecaster.m4
index
f3b8f07
..
103d11b
100644
(file)
--- a/
telecaster.m4
+++ b/
telecaster.m4
@@
-29,10
+29,16
@@
m4_divert(86)m4_dnl
allowservices inbound tcp \
ssh \
ident \
allowservices inbound tcp \
ssh \
ident \
- ftp ftp_data \
+ smtp \
+ ftp ftps \
rsync \
http https squid ssquid
rsync \
http https squid ssquid
+allowservices inbound-untrusted tcp \
+ sunrpc mount nfs
+allowservices inbound-untrusted udp \
+ sunrpc mount nfs
+
run iptables -A inbound -j ACCEPT \
-p udp --destination-port $port_icp \
-m limit --limit 10/second --limit-burst 100
run iptables -A inbound -j ACCEPT \
-p udp --destination-port $port_icp \
-m limit --limit 10/second --limit-burst 100