~mdw
/
firewall
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eggle.m4, local.m4, local.mk: Add new VPS `eggle'.
[firewall]
/
roadstar.m4
diff --git
a/roadstar.m4
b/roadstar.m4
index
4947a80
..
5d628c9
100644
(file)
--- a/
roadstar.m4
+++ b/
roadstar.m4
@@
-24,20
+24,24
@@
###--------------------------------------------------------------------------
### roadstar-specific rules.
###--------------------------------------------------------------------------
### roadstar-specific rules.
-m4_divert(8
4
)m4_dnl
+m4_divert(8
6
)m4_dnl
## Externally visible services.
allowservices inbound tcp \
ssh \
ident \
## Externally visible services.
allowservices inbound tcp \
ssh \
ident \
- ftp
ftp_data
\
+ ftp \
rsync \
rsync \
- http https squid \
- git
+ http https squid ssquid
+
+allowservices inbound-untrusted tcp \
+ sunrpc mount nfs \
+ lpd
+allowservices inbound-untrusted udp \
+ sunrpc mount nfs
## Provide DNS resolution to local untrusted hosts.
for p in tcp udp; do
## Provide DNS resolution to local untrusted hosts.
for p in tcp udp; do
- run iptables -A inbound -j ACCEPT \
- -s 172.29.198.0/24 \
+ run ip46tables -A inbound-untrusted -j ACCEPT \
-p $p --destination-port $port_dns
done
-p $p --destination-port $port_dns
done