set vpn pptp remote-access authentication mode local
set vpn pptp remote-access client-ip-pool start 172.16.10.220
set vpn pptp remote-access client-ip-pool stop 172.16.10.240
set vpn pptp remote-access authentication local-users username sami password mypass
set vpn pptp remote-access authentication local-users username teri password teripass
vyatta@core2# show vpn
pptp {
remote-access {
authentication {
local-users {
username sami {
password mypass
}
username teri {
password teripass
}
}
mode local
}
client-ip-pool {
start 172.16.10.220
stop 172.16.10.240
}
}
}
[edit] |
set vpn pptp remote-access authentication mode local
set vpn pptp remote-access client-ip-pool start 172.16.10.220
set vpn pptp remote-access client-ip-pool stop 172.16.10.240
set vpn pptp remote-access authentication local-users username sami password mypass
set vpn pptp remote-access authentication local-users username teri password teripass
vyatta@core2# show vpn
pptp {
remote-access {
authentication {
local-users {
username sami {
password mypass
}
username teri {
password teripass
}
}
mode local
}
client-ip-pool {
start 172.16.10.220
stop 172.16.10.240
}
}
}
[edit]