![](/images/new-backgrounds/1149436/149436375x1.webp)
Chapter 6
Advanced Features
6.5.3 Set or modify the vpnserver parameters
modify command The ipsec peer vpnserver modify command sets or modifies the vpnserver entity parameters.
Example In this example, the parameters of the previously defined vpnserver entity, named serv1, are set:
[ipsec peer | vpnserver]=>modify |
name = serv1 |
|
[push_ip] = | enabled |
disabled | |
[push_ip] = | disabled |
[iprange] = | 10.60.11.0/24 |
[netmask] = | 255.255.255.0 |
[primdns] = | 10.60.11.200 |
[secdns] = 10.60.11.201 [primwins] = 10.60.11.100 [secwins] = 10.60.11.101 [domain] = clients [xauthpool] =
:ipsec peer vpnserver modify name=serv1 push_ip=disabled iprange=10.60. 11.0/
24 netmask=24 primdns=10.60.11.200 secdns=10.60.11.201 primwins=10.60.1
1.100 secwins=10.60.11.101 domain=clients [ipsec peer vpnserver]=>
Use the list command to verify the results of the operation:
[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 | : | <unset> |
[ipsec peer vpnserver]=>
186 | |
|