Coder Social home page Coder Social logo

radsec's Introduction

How to Use: RadSecProxy for Cradlepoint routers

Use the container image: phate999/radsec

Project on Docker Hub:

https://hub.docker.com/r/phate999/radsec

radsecproxy.conf

Modify the below radsecproxy.conf for your RADIUS servers and paste into the Cradlepoint's Hotspot TOS text (/config/hotspot/tos/text/). Do not change the paths of the certificate files.

tls default {
    CACertificateFile	/etc/pki/radsecproxy/ca.pem
    CertificateFile	/etc/pki/radsecproxy/radsec-client-cert.pem
    CertificateKeyFile	/etc/pki/radsecproxy/radsec-client-key.pem
    TlsVersion TLS1_2
}

server radius1.mydomain.com {
	type TLS
	port 2083
	tls default
	TCPKeepalive on
	StatusServer on
	CertificateNameCheck on
}

server radius2.mydomain.com {
	type TLS
	port 2083
	tls default
	TCPKeepalive on
	StatusServer on
	CertificateNameCheck on
}

realm * {
	server radius1.mydomain.com
	server radius2.mydomain.com
}

client 127.0.0.1 {
	type	udp
	secret	testing123
}

LogLevel		5
LogDestination		file:///var/log/radsecproxy/radsecproxy.log

Import Certificates

  • Import your CA certificate into the Cradlepoint's Certificate Manager with "ca" in the title (e.g. "my_ca_cert").
  • Import your client certificate into the Cradlepoint's Certificate Manager with "client" in the title (e.g. "my_client_cert").

Setup Container

  • Add a new container project named "radsec" and paste in the compose below:
version: '2.4'
services:
  radsec:
    image: 'phate999/radsec'
    ports:
     - '1812:1812'
     - '1813:1813'
    volumes:
     - ${CONFIG_STORE}

On container startup, the radsecproxy.conf file and certificates will be pulled from the router configuration and used to start the radsecproxy service.

Check the Cradlepoint router logs for status.

radsec's People

Contributors

phate999 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.