summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-10-15 20:58:10 +0000
committerderaadt <deraadt@openbsd.org>2007-10-15 20:58:10 +0000
commitbefcbaa202ccb11d86b1e330d1fac917ceff159b (patch)
treea1f8d011f2d93608417912b7b5a4b18540916e50
parentNo need to match on "at34c02" anymore. (diff)
downloadwireguard-openbsd-befcbaa202ccb11d86b1e330d1fac917ceff159b.tar.xz
wireguard-openbsd-befcbaa202ccb11d86b1e330d1fac917ceff159b.zip
permit tcp 111/2049 at boot too, for tcp nfs mounts; Jim Rees
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index bffe3a5a7d9..27280856383 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.305 2007/10/08 11:29:58 norby Exp $
+# $OpenBSD: rc,v 1.306 2007/10/15 20:58:10 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -226,8 +226,8 @@ if [ X"${pf}" != X"NO" ]; then
*[1-9]*)
# don't kill NFS
RULES="scrub in all no-df\n$RULES"
- RULES="$RULES\npass in proto udp from any port { 111, 2049 } to any"
- RULES="$RULES\npass out proto udp from any to any port { 111, 2049 }"
+ RULES="$RULES\npass in proto { tcp, udp } from any port { 111, 2049 } to any"
+ RULES="$RULES\npass out proto { tcp, udp } from any to any port { 111, 2049 }"
;;
esac
echo $RULES | pfctl -f -