Skip to content

Commit

Permalink
Update radsecproxy.conf.template
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Feb 27, 2024
1 parent 8f8e560 commit f3ef30a
Showing 1 changed file with 21 additions and 41 deletions.
62 changes: 21 additions & 41 deletions config/radsecproxy.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LogDestination file:///dev/stdout
######

tls OR-certs-anp {
CACertificatePath ${PKI_DIR}/
CACertificateFile ${PKI_DIR}/ca.crt
CertificateFile ${PKI_DIR}/client.chain.crt
CertificateKeyFile ${PKI_DIR}/client.key
Expand All @@ -23,13 +24,13 @@ server OR-dynamic {

######
######
tls OR-certs-orion {
CACertificatePath ${PKI_DIR}/
CACertificateFile ${PKI_DIR}/orion-ca.crt
CertificateFile ${PKI_DIR}/orion-client.chain.crt
CertificateKeyFile ${PKI_DIR}/orion-client.key
TLSVersion TLS1_2:
}
#tls OR-certs-orion {
# CACertificatePath ${PKI_DIR}/
# CACertificateFile ${PKI_DIR}/orion-ca.crt
# CertificateFile ${PKI_DIR}/orion-client.chain.crt
# CertificateKeyFile ${PKI_DIR}/orion-client.key
# TLSVersion TLS1_2:
#}

server orion-server1 {
type tls
Expand All @@ -39,14 +40,6 @@ server orion-server1 {
host 216.239.32.91:2083
}

accountingServer orion-accounting-server1 {
type tls
tls OR-certs-anp
secret radsec
certificateNameCheck off
host 216.239.32.91:2083
}

server orion-server2 {
type tls
tls OR-certs-anp
Expand All @@ -55,22 +48,16 @@ server orion-server2 {
host 216.239.34.91:2083
}

accountingServer orion-accounting-server2 {
type tls
tls OR-certs-anp
secret radsec
certificateNameCheck off
host 216.239.34.91:2083
}
######
######
tls certs-tmobile {
CACertificatePath ${PKI_DIR}/
CACertificateFile ${PKI_DIR}/tmobile-ca.crt
CertificateFile ${PKI_DIR}/tmobile-client.chain.crt
CertificateKeyFile ${PKI_DIR}/tmobile-client.key
TLSVersion TLS1_2:
}
#tls certs-tmobile {
# CACertificatePath ${PKI_DIR}/
# CACertificateFile ${PKI_DIR}/tmobile-ca.crt
# CertificateFile ${PKI_DIR}/tmobile-client.chain.crt
# CertificateKeyFile ${PKI_DIR}/tmobile-client.key
# TLSVersion TLS1_2:
#}

server tmobile-server {
type tls
tls OR-certs-anp
Expand All @@ -79,13 +66,6 @@ server tmobile-server {
host aaa.geo.t-mobile.com:2083
}

accountingServer tmobile-accounting-server {
type tls
tls OR-certs-anp
secret radsec
certificateNameCheck off
host aaa.geo.t-mobile.com:2083
}
######
######
realm ".*\.orion\.area120\.com" {
Expand All @@ -94,8 +74,8 @@ realm ".*\.orion\.area120\.com" {
secret radsec
server orion-server1
server orion-server2
accountingServer orion-accounting-server1
accountingServer orion-accounting-server2
accountingServer orion-server1
accountingServer orion-server2
}
######
######
Expand All @@ -104,23 +84,23 @@ realm ".*\wlan\.mnc240\.mcc310\.3gppnetwork\.org" {
tls OR-certs-anp
secret secret
server tmobile-server
accountingServer tmobile-accounting-server
accountingServer tmobile-server
}

realm ".*\wlan\.mnc260\.mcc310\.3gppnetwork\.org" {
type tls
tls OR-certs-anp
secret secret
server tmobile-server
accountingServer tmobile-accounting-server
accountingServer tmobile-server
}

realm ".*\wlan\.mnc210\.mcc310\.3gppnetwork\.org" {
type tls
tls OR-certs-anp
secret secret
server tmobile-server
accountingServer tmobile-accounting-server
accountingServer tmobile-server
}
######
######
Expand Down

0 comments on commit f3ef30a

Please sign in to comment.