siteadmin:advanced_orps_radsecproxy_configuration
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| siteadmin:advanced_orps_radsecproxy_configuration [2021/08/11 10:40] – admin | siteadmin:advanced_orps_radsecproxy_configuration [2022/05/18 10:14] (current) – admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This should be representative of the configuration used in production. It contains the appropriate logging and filtering. | This should be representative of the configuration used in production. It contains the appropriate logging and filtering. | ||
| + | |||
| + | For RadSecProxy 1.8.0 and above: | ||
| < | < | ||
| Line 20: | Line 22: | ||
| rewrite OutboundFilter { | rewrite OutboundFilter { | ||
| # Operator-Name | # Operator-Name | ||
| - | RemoveAttribute 126 | + | |
| - | | + | |
| WhitelistMode on | WhitelistMode on | ||
| Line 50: | Line 52: | ||
| server | server | ||
| host 212.219.190.139 | host 212.219.190.139 | ||
| - | type udp | + | type udp |
| - | | + | ## Change |
| + | secret XXXX | ||
| RewriteOut OutboundFilter | RewriteOut OutboundFilter | ||
| - | statusServer minimal | + | #This checks that status of the adjacent servers. |
| + | statusServer minimal | ||
| } | } | ||
| Line 60: | Line 64: | ||
| host 212.219.209.43 | host 212.219.209.43 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| RewriteOut OutboundFilter | RewriteOut OutboundFilter | ||
| - | statusServer minimal | + | #This checks that status of the adjacent servers. |
| + | statusServer minimal | ||
| } | } | ||
| Line 69: | Line 75: | ||
| host 212.219.247.59 | host 212.219.247.59 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| RewriteOut OutboundFilter | RewriteOut OutboundFilter | ||
| - | statusServer minimal | + | #This checks that status of the adjacent servers. |
| + | statusServer minimal | ||
| } | } | ||
| Line 78: | Line 86: | ||
| host 195.194.21.203 | host 195.194.21.203 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| RewriteOut OutboundFilter | RewriteOut OutboundFilter | ||
| - | statusServer minimal | + | #This checks that status of the adjacent servers. |
| + | statusServer minimal | ||
| } | } | ||
| Line 98: | Line 108: | ||
| host 212.219.190.139 | host 212.219.190.139 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| } | } | ||
| | | ||
| Line 104: | Line 115: | ||
| host 212.219.209.43 | host 212.219.209.43 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| } | } | ||
| | | ||
| Line 110: | Line 123: | ||
| host 212.219.247.59 | host 212.219.247.59 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| } | } | ||
| | | ||
| Line 116: | Line 131: | ||
| host 195.194.21.203 | host 195.194.21.203 | ||
| type udp | type udp | ||
| - | secret XXXX | + | ## Change |
| + | secret XXXX | ||
| } | } | ||
| Line 125: | Line 142: | ||
| type udp | type udp | ||
| secret XXXX | secret XXXX | ||
| - | fticksVISCOUNTRY GB | + | fticksVISCOUNTRY GB |
| - | fticksVISINST 1home.site | + | # Change ' |
| + | fticksVISINST 1home.site | ||
| } | } | ||
| Line 141: | Line 159: | ||
| } | } | ||
| - | realm / | + | realm / |
| replymessage " | replymessage " | ||
| } | } | ||
| - | realm / | + | realm / |
| replymessage " | replymessage " | ||
| } | } | ||
| - | realm /@\. { | + | realm /@\./ { |
| replymessage " | replymessage " | ||
| } | } | ||
| - | realm /@[^\.]+$ { | + | realm /@[^\.]+$/ { |
| replymessage " | replymessage " | ||
| } | } | ||
| ### Check it's a syntactically correct realm and proxy if ok | ### Check it's a syntactically correct realm and proxy if ok | ||
| - | realm / | + | realm / |
| server roaming0.govroam.uk | server roaming0.govroam.uk | ||
| server roaming1.govroam.uk | server roaming1.govroam.uk | ||
| Line 168: | Line 186: | ||
| realm * { | realm * { | ||
| replymessage " | replymessage " | ||
| - | } | + | } |
| + | |||
| + | </ | ||
| + | |||
| + | For older versions of RadSecProxy (e.g. on Debian) | ||
| + | |||
| + | < | ||
| + | # Some basic logging | ||
| + | LogLevel 3 | ||
| + | |||
| + | LogDestination | ||
| + | |||
| + | # Prevents RADIUS servers from causing a loop by sending requests back again. | ||
| + | LoopPrevention | ||
| + | |||
| + | # FTICKS is a standardised way of logging authentication attempts. | ||
| + | FTicksSyslogFacility LOG_LOCAL0 | ||
| + | FTicksReporting Full | ||
| + | FTicksMAC VendorKeyHashed | ||
| + | FTicksKey arandomsalt | ||
| + | |||
| + | rewrite OutboundFilter { | ||
| + | # Operator-Name | ||
| + | RemoveAttribute 126 | ||
| + | AddAttribute 126:' | ||
| + | } | ||
| + | |||
| + | |||
| + | # Upstream RADIUS proxy | ||
| + | server | ||
| + | host 212.219.190.139 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | RewriteOut OutboundFilter | ||
| + | #This checks that status of the adjacent servers. | ||
| + | statusServer on | ||
| + | } | ||
| + | |||
| + | # Upstream RADIUS proxy | ||
| + | server | ||
| + | host 212.219.209.43 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | RewriteOut OutboundFilter | ||
| + | #This checks that status of the adjacent servers. | ||
| + | statusServer on | ||
| + | } | ||
| + | |||
| + | # Upstream RADIUS proxy | ||
| + | server | ||
| + | host 212.219.247.59 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | RewriteOut OutboundFilter | ||
| + | #This checks that status of the adjacent servers. | ||
| + | statusServer on | ||
| + | } | ||
| + | |||
| + | # Upstream RADIUS proxy | ||
| + | server | ||
| + | host 195.194.21.203 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | RewriteOut OutboundFilter | ||
| + | #This checks that status of the adjacent servers. | ||
| + | statusServer on | ||
| + | } | ||
| + | |||
| + | |||
| + | # Local IdP which will do the authentication (Omit for Visited Only) | ||
| + | # Configure to match the RADIUS server to which auth requests for your local realm will be sent. | ||
| + | server | ||
| + | host 10.10.10.21 | ||
| + | type udp | ||
| + | secret XXXX | ||
| + | statusServer off | ||
| + | } | ||
| + | |||
| + | |||
| + | # RADIUS requests will also be received from the national proxies. (Omit for Visited Only) | ||
| + | client | ||
| + | host 212.219.190.139 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | } | ||
| + | |||
| + | client | ||
| + | host 212.219.209.43 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | |||
| + | } | ||
| + | |||
| + | client | ||
| + | host 212.219.247.59 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | |||
| + | } | ||
| + | |||
| + | client | ||
| + | host 195.194.21.203 | ||
| + | type udp | ||
| + | ## Change XXXX to the supplied RADIUS secret. | ||
| + | secret XXXX | ||
| + | |||
| + | } | ||
| + | |||
| + | # Wireless system | ||
| + | # Configure this to match the wireless controller/ | ||
| + | client | ||
| + | host 10.10.10.10 | ||
| + | type udp | ||
| + | secret XXXX | ||
| + | fticksVISCOUNTRY GB | ||
| + | # Change ' | ||
| + | fticksVISINST 1home.site | ||
| + | } | ||
| + | |||
| + | #Known local realm (Omit for Visited Only) | ||
| + | #Configure ' | ||
| + | |||
| + | realm localnet { | ||
| + | server localidp1 | ||
| + | } | ||
| + | |||
| + | ### Catch a load of common misconfigurations | ||
| + | realm /^$/ { | ||
| + | replymessage " | ||
| + | } | ||
| + | |||
| + | realm / | ||
| + | replymessage " | ||
| + | } | ||
| + | |||
| + | realm / | ||
| + | replymessage " | ||
| + | } | ||
| + | |||
| + | realm /@\./ { | ||
| + | replymessage " | ||
| + | } | ||
| + | |||
| + | realm /@[^\.]+$/ { | ||
| + | replymessage " | ||
| + | } | ||
| + | |||
| + | ### Check it's a syntactically correct realm and proxy if ok | ||
| + | realm / | ||
| + | server roaming0.govroam.uk | ||
| + | server roaming1.govroam.uk | ||
| + | server roaming2.govroam.uk | ||
| + | server roaming3.govroam.uk | ||
| + | } | ||
| + | |||
| + | ### Otherwise reject it | ||
| + | realm * { | ||
| + | replymessage " | ||
| + | } | ||
| + | | ||
| </ | </ | ||
siteadmin/advanced_orps_radsecproxy_configuration.1628678450.txt.gz · Last modified: 2021/08/11 10:40 by admin
