feat(ansible): add VPN node configuration automation
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
NAS-Identifier={{ nas_identifier }}
|
||||
NAS-IP-Address={{ nas_ip_address }}
|
||||
|
||||
Service-Type=5
|
||||
Framed-Protocol=1
|
||||
NAS-Port-Type=5
|
||||
|
||||
OpenVPNConfig=/etc/openvpn/server/server.conf
|
||||
|
||||
subnet=255.255.255.0
|
||||
|
||||
useauthcontrolfile=true
|
||||
useclientconnectdeferfile=true
|
||||
overwriteccfiles=true
|
||||
|
||||
nonfatalaccounting=false
|
||||
|
||||
AddMessageAuthenticator=yes
|
||||
|
||||
log_level=5
|
||||
|
||||
server
|
||||
{
|
||||
name={{ radius_server }}
|
||||
authport={{ radius_auth_port }}
|
||||
acctport={{ radius_acct_port }}
|
||||
sharedsecret={{ radius_shared_secret }}
|
||||
|
||||
retry=3
|
||||
wait=10
|
||||
}
|
||||
Reference in New Issue
Block a user