hi,I am interested in this issue and would like to work on it.
If there are any relevant code references or examples, please let me know.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Dec 11 2024
Any update about this feature?
Dec 10 2024
This looks promising:
Connected Since ------------ 2024-12-09 18:36:18
Dec 9 2024
Per TimH in slack:
https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/ --auth-gen-token [lifetime] After successful user/password authentication, the OpenVPN server will with this option generate a temporary authentication token and push that to client. On the following renegotiations, the OpenVPN client will pass this token instead of the users password. On the server side the server will do the token authentication internally and it will NOT do any additional authentications against configured external user/password authentication mechanisms.The lifetime argument defines how long the generated token is valid. The lifetime is defined in seconds. If lifetime is not set or it is set to 0, the token will never expire.This feature is useful for environments which is configured to use One Time Passwords (OTP) as part of the user/password authentications and that authentication mechanism does not implement any auth-token support. OpenVPNOpenVPN Reference Manual For OpenVPN 2.4 | OpenVPN Because OpenVPN tries to be a universal VPN tool offering a great deal of flexibility, there are a lot of options on this reference page for OpenVPN 2.4
Dec 8 2024
In T4930#209720, @runar wrote:Routgh idea:
If peer is created with hostname over IP, do not add it during commit
I would insist only not adding endpoint, let peer be ready if they have configured with hostname endpoint.
The peer should be pre-provisioned with everything needed to be accessible externally for a remote peer to reconnect prior to dns resolution.
To allow for this the peer can be added with a endpoint of 0.0.0.0. (if a wireguard peer is not able to be provisioned without a endpoint at least)
This can then be used to "abort" a DNS resolution if the remote end has reconnected.
Only the "resolve dns" part should then be the blocking part, and only that part needs to be moved out of the commit loop.
Routgh idea:
If peer is created with hostname over IP, do not add it during commit
I would insist only not adding endpoint, let peer be ready if they have configured with hostname endpoint.
Dec 7 2024
Dec 6 2024
I create drafted PR https://github.com/vyos/vyos-1x/pull/4224
Dec 5 2024
Dec 4 2024
modifying any settings in the vpn block seems to break remote access until the vpn l2tp remote-access authentication local-users block is modified
still an issue in latest
This works!:
trae@cr01b-vyos# set pki ca IPA.TRAE32566.ORG system-install [edit] trae@cr01b-vyos# commit Archiving config... sftp://stor01a-rh9.int.trae32566.org/int/cr01b-vyos [edit] trae@cr01b-vyos# run restart ntp [edit] trae@cr01b-vyos# run show ntp sources .-- Source mode '^' = server, '=' = peer, '#' = local clock. / .- Source state '*' = current best, '+' = combined, '-' = not combined, | / 'x' = may be in error, '~' = too variable, '?' = unusable. || .- xxxx [ yyyy ] +/- zzzz || Reachability register (octal) -. | xxxx = adjusted offset, || Log2(Polling interval) --. | | yyyy = measured offset, || \ | | zzzz = estimated error. || | | \ MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^* ns02.ac.trae32566.org 2 6 7 0 +2ns[ -188ms] +/- 5513us ^- ns01.ac.trae32566.org 2 6 7 0 +120us[ -188ms] +/- 5598us