summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2018-07-24 18:15:30 +0000
committerjasper <jasper@openbsd.org>2018-07-24 18:15:30 +0000
commit9ff8bd0a95118988e0fbc655b6fcb9240b1a7f37 (patch)
tree57bfea6662278a5387dc6c2b7c2d4ea06fdd648f
parentDo the same for i386 as amd64: (diff)
downloadwireguard-openbsd-9ff8bd0a95118988e0fbc655b6fcb9240b1a7f37.tar.xz
wireguard-openbsd-9ff8bd0a95118988e0fbc655b6fcb9240b1a7f37.zip
add rad.conf example
ok florian@
-rw-r--r--etc/Makefile4
-rw-r--r--etc/examples/rad.conf14
2 files changed, 16 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index d07865c777d..d233ab07903 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.464 2018/07/23 11:56:02 florian Exp $
+# $OpenBSD: Makefile,v 1.465 2018/07/24 18:15:30 jasper Exp $
.include <bsd.own.mk>
@@ -47,7 +47,7 @@ MUTABLE=acme-client.conf changelist daily etc.${MACHINE}/disktab \
# -rw-r--r--
EXAMPLES=chio.conf dhclient.conf dhcpd.conf exports \
httpd.conf ifstated.conf inetd.conf man.conf mixerctl.conf \
- mrouted.conf ntpd.conf printcap rbootd.conf \
+ mrouted.conf ntpd.conf printcap rad.conf rbootd.conf \
remote sensorsd.conf wsconsctl.conf
# -rw-------
diff --git a/etc/examples/rad.conf b/etc/examples/rad.conf
new file mode 100644
index 00000000000..7104cb8bcb3
--- /dev/null
+++ b/etc/examples/rad.conf
@@ -0,0 +1,14 @@
+# $OpenBSD: rad.conf,v 1.1 2018/07/24 18:15:31 jasper Exp $
+
+# The most simple configuration is a single interface section which uses the
+# interface IPv6 address to discover the prefix to announce.
+#interface em0
+
+# A slightly more complex case sets a prefix and basic DNS options.
+interface em1 {
+ prefix 2001:db8::/32
+ dns {
+ resolver 2001:db8::53
+ search example.org
+ }
+}