Skip to content
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

Expose remote L2TP hostname to pppd scripts #265

Open
gldrk opened this issue Mar 3, 2024 · 0 comments
Open

Expose remote L2TP hostname to pppd scripts #265

gldrk opened this issue Mar 3, 2024 · 0 comments

Comments

@gldrk
Copy link

gldrk commented Mar 3, 2024

This is set by hostname in xl2tpd.conf and is separate from the name used during PPP's optional authentication. The latter is already exposed by pppd as PEERNAME. The host name (attribute type 7) is a mandatory part of the Control Connection Protocol and is thus very useful for the purposes of identification.
The most sensible way to implement this would be via an environment variable, using pppd's set option. This also applies to the remote IP address that is currently exposed through ipparam.

@gldrk gldrk changed the title Expose L2TP hostname to pppd scripts Expose remote L2TP hostname to pppd scripts Mar 3, 2024
@gldrk gldrk closed this as completed Mar 3, 2024
@gldrk gldrk reopened this Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant