-
Notifications
You must be signed in to change notification settings - Fork 394
docs:T8598: Add IPv6 peer-IID secret configuration for calling-sid option #2135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ritika0313
wants to merge
2
commits into
vyos:circinus
Choose a base branch
from
ritika0313:T8598-ipv6-peer-iid-calling-sid-secret-doc
base: circinus
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+125
−40
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,8 +11,8 @@ and proxy servers except for authenticated web proxies. | |||||
|
|
||||||
| SSTP is available for Linux, BSD, and Windows. | ||||||
|
|
||||||
| VyOS utilizes [accel-ppp](https://accel-ppp.org/) to provide SSTP server functionality. We support both | ||||||
| local and RADIUS authentication. | ||||||
| VyOS utilizes [accel-ppp](https://accel-ppp.org/) to provide SSTP server | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| functionality. We support both local and RADIUS authentication. | ||||||
|
|
||||||
| As SSTP provides PPP via a SSL/TLS channel the use of either publicly signed | ||||||
| certificates or private PKI is required. | ||||||
|
|
@@ -21,7 +21,8 @@ certificates or private PKI is required. | |||||
|
|
||||||
| ### Certificates | ||||||
|
|
||||||
| Using our documentation chapter - {ref}`pki` generate and install CA and Server certificate | ||||||
| Using our documentation chapter - {ref}`pki` generate and install CA and | ||||||
| Server certificate | ||||||
|
|
||||||
| ```none | ||||||
| vyos@vyos:~$ generate pki ca install CA | ||||||
|
|
@@ -315,21 +316,39 @@ Accept peer interface identifier. By default this is not defined. | |||||
|
|
||||||
| ```{cfgcmd} set vpn sstp ppp-options ipv6-interface-id \<random | x:x:x:x\> | ||||||
|
|
||||||
| Specifies if a fixed or random interface identifier is used for IPv6. The | ||||||
| default is fixed. | ||||||
| Specifies if a Fixed or Random interface identifier is used for IPv6. The | ||||||
| default is a Fixed (deterministic) interface identifier. | ||||||
| * **random** - Random interface identifier for IPv6 | ||||||
| * **x:x:x:x** - Specify interface identifier for IPv6 | ||||||
| ``` | ||||||
|
|
||||||
| ```{cfgcmd} set vpn sstp ppp-options ipv6-interface-id \<random | x:x:x:x\> | ||||||
| ```{cfgcmd} set vpn sstp ppp-options ipv6-peer-interface-id \<random | x:x:x:x | ipv4-addr | calling-sid\> | ||||||
|
|
||||||
| Specifies the peer interface identifier for IPv6. The default is fixed. | ||||||
| * **random** - Random interface identifier for IPv6 | ||||||
| * **x:x:x:x** - Specify interface identifier for IPv6 | ||||||
| Specifies the peer interface identifier for IPv6. The default is a Fixed | ||||||
| (deterministic) peer interface identifier. | ||||||
| * **random** - Random interface identifier for IPv6. | ||||||
| * **x:x:x:x** - Specify a Fixed peer interface identifier for IPv6. | ||||||
| * **ipv4-addr** - Calculate interface identifier from IPv4 address. | ||||||
| * **calling-sid** - Calculate interface identifier from calling-station-id. | ||||||
| ``` | ||||||
|
|
||||||
| ```{cfgcmd} set vpn sstp ppp-options ipv6-peer-interface-id-secret \<secret-key\> | ||||||
|
|
||||||
| Secret key used to generate the IPv6 peer interface identifier (IID) when | ||||||
| ``ipv6-peer-interface-id`` is set to ``calling-sid``. This key is combined | ||||||
| with the calling-station-id to derive a stable, non-predictable IID. | ||||||
|
|
||||||
| * Required when ``ipv6-peer-interface-id`` is set to ``calling-sid``. | ||||||
| * Must be 16 to 128 printable non-whitespace ASCII characters. | ||||||
|
|
||||||
| For example: | ||||||
|
|
||||||
| ~~~none | ||||||
| set vpn sstp ppp-options ipv6-peer-interface-id calling-sid | ||||||
| set vpn sstp ppp-options ipv6-peer-interface-id-secret 'exampleSecret123!' | ||||||
| ~~~ | ||||||
| ``` | ||||||
|
|
||||||
|
|
||||||
| ## Scripting | ||||||
|
|
||||||
|
|
@@ -533,7 +552,8 @@ Once you have setup your SSTP server there comes the time to do some basic | |||||
| testing. The Linux client used for testing is called [sstpc]. [sstpc] requires a | ||||||
| PPP configuration/peer file. | ||||||
|
|
||||||
| If you use a self-signed certificate, do not forget to install CA on the client side. | ||||||
| If you use a self-signed certificate, do not forget to install CA on the | ||||||
| client side. | ||||||
|
|
||||||
| The following PPP configuration tests MSCHAP-v2: | ||||||
|
|
||||||
|
|
@@ -693,6 +713,8 @@ Feb 28 17:03:07 vyos accel-sstp[2492]: ppp0:test: rename interface to 'sstp0' | |||||
| Feb 28 17:03:07 vyos accel-sstp[2492]: sstp0:test: sstp: ppp: started | ||||||
| ``` | ||||||
|
|
||||||
| % stop_vyoslinter | ||||||
| [accel-ppp attribute]: https://github.com/accel-ppp/accel-ppp/blob/master/accel-pppd/radius/dict/dictionary.accel | ||||||
| [dictionary]: https://github.com/accel-ppp/accel-ppp/blob/master/accel-pppd/radius/dict/dictionary.rfc6911 | ||||||
| % start_vyoslinter | ||||||
| [sstpc]: https://github.com/reliablehosting/sstp-client | ||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.