![](/images/new-backgrounds/1149436/149436387x1.webp)
Chapter 6
Advanced Features
6.6.4Attach the xauthpool entity to the vpnserver entity
modify the vpnserver parameters
Example
The :ipsec peer vpnserver modify name=serv1 xauthpool=pool1 command attaches the previously defined pool to the vpnserver, named serv1.
In this example pool1 is attached to vpnserver1:
[ipsec peer | vpnserver]=>modify |
name = serv1 | disabled |
[push_ip] = | |
[iprange] = | 10.60.11.0/24 |
[netmask] = | 24 |
[primdns] = | 10.60.11.200 |
[secdns] = 10.60.11.201 [primwins] = 10.60.11.100 [secwins] = 10.60.11.101 [domain] = clients [xauthpool] = pool1
:ipsec peer vpnserver modify name=serv1 xauthpool=pool1 [ipsec peer vpnserver]=>
The result is shown when listing the vpnserver entities:
[ipsec peer vpnserver]=>list [serv1]
Push IP |
| : | disabled |
Address | Range : | 10.60.11.0/24 | |
Netmask | DNS | : | 255.255.255.0 |
Primary | : | 10.60.11.200 | |
Secondary DNS : | 10.60.11.201 | ||
Primary | WINS | : | 10.60.11.100 |
Secondary WINS: | 10.60.11.101 | ||
Domain |
| : | clients |
XAuth Pool | : | pool1 |
[ipsec peer vpnserver]=>
192 | |
|