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

Can I customize the value of AVP when used as lac #217

Open
risetek-wangxu opened this issue Nov 17, 2020 · 0 comments
Open

Can I customize the value of AVP when used as lac #217

risetek-wangxu opened this issue Nov 17, 2020 · 0 comments

Comments

@risetek-wangxu
Copy link

Hello everyone
I used xl2tp(version 1.3.15) as lac,can i customize the value of AVP?

The following file is specifically for avp
https://github.com/xelerance/xl2tpd/blob/master/avp.c

and the 22 of avp is 'Dialing Number', I want to customize a dialing number, and then initiate a connection to lns

such as:
[root@localhost ~]# vim /etc/xl2tpd/xl2tpd.conf
[lac testvpn]
name = test
lns = 103.23.82.1
pppoptfile = /etc/ppp/peers/testvpn.l2tpd
ppp debug = no
require pap = yes
hidden bit = yes
Dialing Number = ‘460018132424026’ // Of course, writing this way will report an error, I just want to achieve this effect

Can my idea be realized in this version of 1.3.15? how? thanks,thanks,thanks

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