
Chapter 6
Advanced Features
6.6.7 Create a new XAuth user
adduser command A new XAuth user is created with the ipsec peer vpnserver xauthpool adduser command.
Example In the following example the pool, named pool1, is populated with a new XAuth user, named user1:
=>ipsec
[ipsec]=>peer
[ipsec peer]=>vpnserver
[ipsec peer vpnserver]=>xauthpool
[ipsec peer vpnserver xauthpool]=>adduser poolname = pool1
username = user1
:ipsec peer vpnserver xauthpool adduser poolname=pool1 username=user1 [ipsec peer vpnserver xauthpool]=>
The result of this operation can be verified with the listpool command.
[ipsec | peer vpnserver xauthpool]=>listpool |
|
name = | pool1 |
|
:ipsec peer vpnserver xauthpool listpool name=pool1 | ||
Pool pool1 type chap | Password: <unset> | |
| Username: user1 | |
[ipsec peer vpnserver xauthpool]=> |
|
For the newly created vpnserver entity in this example, the password is unset.
Setting of the password is described in the next section.
195 | |
|