quericy / one-key-ikev2-vpn

A bash script base on Centos or Ubuntu help you to create IKEV2/L2TP vpn.
GNU General Public License v3.0
2.09k stars 709 forks source link

How Connect To External radius server #193

Open raminmalekghasemi opened 3 years ago

raminmalekghasemi commented 3 years ago

If i want Connect Config file To external radius server For auth and acc used Radius server How can do it in this .sh file ???

poctopus commented 2 years ago

1,vi /usr/local/etc/strongswan.d/charon/eap-radius.conf eap-radius { accounting = yes load = yes port = 1812 secret = test123 server = 127.0.0.1 }

2,vi /usr/local/etc/ipsec.conf all rightauth edit to :eap-radius rightauth=eap-radius

raminmalekghasemi commented 2 years ago

Hi do this see error 809

poctopus commented 2 years ago

you can use radiusd -X to check radius config

raminmalekghasemi commented 2 years ago

I used AAA Radius donnot send any request to my radius server

poctopus commented 1 year ago

you need config you radius server for this client. for centos you need modify /etc/raddb/clients.conf this file.

you need create a new client ofr strongswan.