pyrad icon indicating copy to clipboard operation
pyrad copied to clipboard

Changed to allow IP ranges to be specified.

Open ccsalway opened this issue 7 years ago • 0 comments

Useful when client IP addresses may not be known but are within a network range such as the case when using auto scaling load balancers.

To use, specify the RemoteHost address as a CIDR.

For example:

hosts={
    'default': server.RemoteHost('0/0', 'Kah3choteereethiejeimaeziecumi', 'default'),
    'internal': server.RemoteHost('192.168.0.0/24', 'Kah3choteereethiejeimaeziecumi', 'internal'),
    'localnet': server.RemoteHost('10.0.0.0/16', 'Kah3choteereethiejeimaeziecumi', 'localnet'),
    'onehost': server.RemoteHost('10.0.0.1', 'Kah3choteereethiejeimaeziecumi', 'onehost'),
}

ccsalway avatar Sep 09 '18 05:09 ccsalway