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

How does centos7 set radius? #446

Open
bbhxwl opened this issue Sep 28, 2020 · 4 comments
Open

How does centos7 set radius? #446

bbhxwl opened this issue Sep 28, 2020 · 4 comments

Comments

@bbhxwl
Copy link

bbhxwl commented Sep 28, 2020

How does centos7 set radius?

@bbhxwl
Copy link
Author

bbhxwl commented Sep 28, 2020

ARe you asking for OSW or is this for xl2tpd?

I just learned about openswan. Isn't it running independently? Need to rely on xl2tp?

@shussain
Copy link
Collaborator

@bbhxwl I am unsure what you are trying to achieve

xl2tpd is an implementation of Layer 2 Tunnel Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP. Some ISPs use L2TP to tunnel user sessions from dial-in servers (modem banks, ADSL DSLAMs) to back-end PPP servers.

Another important application is Virtual Private Networks (VPN) where you can use IPsec protocols (such as OSW) to secure the L2TP connection.

So to answer your question they are independent but can be used together. However, it is unclear to me what you mean by set radius. Presumably since you had originally posted it in the xl2tpd repo, you want to use radius to do authentication for an l2tp connection? if so, there are several Ubuntu tutorials/guides (e.g. https://www.howtoforge.com/tutorial/l2tp-over-ipsec-using-openswan-with-freeradius-authentication/) . You can adapt/modify them for CentOS

@bbhxwl
Copy link
Author

bbhxwl commented Sep 28, 2020

@bbhxwl I am unsure what you are trying to achieve

xl2tpd is an implementation of Layer 2 Tunnel Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP. Some ISPs use L2TP to tunnel user sessions from dial-in servers (modem banks, ADSL DSLAMs) to back-end PPP servers.

Another important application is Virtual Private Networks (VPN) where you can use IPsec protocols (such as OSW) to secure the L2TP connection.

So to answer your question they are independent but can be used together. However, it is unclear to me what you mean by set radius. Presumably since you had originally posted it in the xl2tpd repo, you want to use radius to do authentication for an l2tp connection? if so, there are several Ubuntu tutorials/guides (e.g. https://www.howtoforge.com/tutorial/l2tp-over-ipsec-using-openswan-with-freeradius-authentication/) . You can adapt/modify them for CentOS

The thing is, the centos6 one click configuration PPTP + L2TP + IPSec script that I purchased previously was not available for centos7. Then I learned to use accel PPP Configure VPN, but this only supports PPTP + L2TP, can't be used by mobile phone. IPSec can be used in IOS, but I can't configure it. At present, I spend $50 to ask someone to write a one button installation script for me. I don't know if he will write it. I'll study it myself first. It seems that accel PPP and openswan can make mobile phones use IPSec protocol.

@letoams
Copy link
Contributor

letoams commented Sep 28, 2020 via email

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

3 participants