Skip to content

Commit

Permalink
T987: Unclutter PPTP/IPSec RADIUS configuration nodes
Browse files Browse the repository at this point in the history
In other words, remove top level tag nodes from radius-server and introduce
a regular "radius" node, thus we can add additional features, too. A migration
script is provided in vyos-1x which takes care of this config migration.

Change VyOS CLI from:

vyos@vyos# show vpn pptp
 remote-access {
     authentication {
         mode radius
         radius-server 172.16.100.10 {
             key barbarbar
         }
         radius-server 172.16.100.20 {
             key foofoofoo
         }
     }

To:

vyos@vyos# show vpn l2tp
 remote-access {
     authentication {
         mode radius
         radius {
             server 172.16.100.10 {
                 key barbarbar
             }
             server 172.16.100.20 {
                 key foofoofoo
             }
         }
     }
  • Loading branch information
c-po committed Nov 12, 2018
1 parent f7b182f commit 4a5db8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ curver_DATA += cfg-version/dhcp-server@5
curver_DATA += cfg-version/dhcp-relay@2
curver_DATA += cfg-version/ssh@1
curver_DATA += cfg-version/l2tp@1

curver_DATA += cfg-version/pptp@1

cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
Expand Down
Empty file added cfg-version/pptp@1
Empty file.

0 comments on commit 4a5db8a

Please sign in to comment.