From de3a47e7275d7078c0b089a964ed0f3dd186af72 Mon Sep 17 00:00:00 2001 From: Miquel van Smoorenburg Date: Fri, 17 Mar 2017 00:36:08 +0100 Subject: add IPv6 support --- pam_radius_auth.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pam_radius_auth.conf') diff --git a/pam_radius_auth.conf b/pam_radius_auth.conf index 576f1f3..2fe1f34 100644 --- a/pam_radius_auth.conf +++ b/pam_radius_auth.conf @@ -14,6 +14,9 @@ # "radius", and is looked up from /etc/services The timeout field is # optional. The default timeout is 3 seconds. # +# For IPv6 literal addresses, the address has to be surrounded by +# square brackets as usual. E.g. [2001:0db8:85a3::4]. +# # If multiple RADIUS server lines exist, they are tried in order. The # first server to return success or failure causes the module to return # success or failure. Only if a server fails to response is it skipped, @@ -22,10 +25,10 @@ # The timeout field controls how many seconds the module waits before # deciding that the server has failed to respond. # -# server[:port] shared_secret timeout (s) -127.0.0.1 secret 1 -other-server other-secret 3 - +# server[:port] shared_secret timeout (s) +127.0.0.1 secret 1 +other-server other-secret 3 +[2001:0db8:85a3::4]:1812 other6-secret 1 # # having localhost in your radius configuration is a Good Thing. # -- cgit v1.2.3