server should be ready on IPv6 by default
authorAlan Buxey <alan.buxey@gmail.com>
Tue, 24 Jun 2014 22:35:31 +0000 (23:35 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 25 Jun 2014 14:21:34 +0000 (15:21 +0100)
FR should be ready for IPv6 out of the box. auth/acct done.

raddb/sites-available/default

index 3278975..af54984 100644 (file)
@@ -206,6 +206,35 @@ listen {
        }
 }
 
+# IPv6 versions of the above - read their full config to understand options
+listen {
+       type = auth
+       ipv6addr = ::   # any.  ::1 == localhost
+       port = 0
+#      interface = eth0
+#      clients = per_socket_clients
+       limit {
+             max_connections = 16
+             lifetime = 0
+             idle_timeout = 30
+       }
+}
+
+listen {
+       ipv6addr = ::
+       port = 0
+       type = acct
+#      interface = eth0
+#      clients = per_socket_clients
+
+       limit {
+#              max_pps = 0
+#              idle_timeout = 0
+#              lifetime = 0
+#              max_connections = 0
+       }
+}
+
 #  Authorization. First preprocess (hints and huntgroups files),
 #  then realms, and finally look in the "users" file.
 #