Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed to allow IP ranges to be specified. #92

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ccsalway
Copy link

@ccsalway ccsalway commented Sep 9, 2018

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'),
}

salway and others added 6 commits September 9, 2018 06:02
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, simply specify the RemoteHost address as a CIDR.

For example:

hosts={
    'internal': server.RemoteHost('192.168.0.0/24', 'Kah3choteereethiejeimaeziecumi', 'internal'),
    'localnet': server.RemoteHost('10.0.0.0/18', 'Kah3choteereethiejeimaeziecumi', 'localnet'),
    'allhosts': server.RemoteHost('0/0', 'Kah3choteereethiejeimaeziecumi', 'default'),
    'onehost': server.RemoteHost('10.0.0.1', 'Kah3choteereethiejeimaeziecumi', 'onehost'),
}
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, simply specify the RemoteHost address as a CIDR.

For example:

hosts={
    'internal': server.RemoteHost('192.168.0.0/24', 'Kah3choteereethiejeimaeziecumi', 'internal'),
    'localnet': server.RemoteHost('10.0.0.0/18', 'Kah3choteereethiejeimaeziecumi', 'localnet'),
    'allhosts': server.RemoteHost('0/0', 'Kah3choteereethiejeimaeziecumi', 'default'),
    'onehost': server.RemoteHost('10.0.0.1', 'Kah3choteereethiejeimaeziecumi', 'onehost'),
}
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, simply specify the RemoteHost address as a CIDR.

For example:

hosts={
    'internal': server.RemoteHost('192.168.0.0/24', 'Kah3choteereethiejeimaeziecumi', 'internal'),
    'localnet': server.RemoteHost('10.0.0.0/18', 'Kah3choteereethiejeimaeziecumi', 'localnet'),
    'allhosts': server.RemoteHost('0/0', 'Kah3choteereethiejeimaeziecumi', 'default'),
    'onehost': server.RemoteHost('10.0.0.1', 'Kah3choteereethiejeimaeziecumi', 'onehost'),
}
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, simply specify the RemoteHost address as a CIDR.

For example:

hosts={
    'internal': server.RemoteHost('192.168.0.0/24', 'Kah3choteereethiejeimaeziecumi', 'internal'),
    'localnet': server.RemoteHost('10.0.0.0/18', 'Kah3choteereethiejeimaeziecumi', 'localnet'),
    'allhosts': server.RemoteHost('0/0', 'Kah3choteereethiejeimaeziecumi', 'default'),
    'onehost': server.RemoteHost('10.0.0.1', 'Kah3choteereethiejeimaeziecumi', 'onehost'),
    'hostname': server.RemoteHost('client.local', 'Kah3choteereethiejeimaeziecumi', 'hostname'),
}
@GIC-de GIC-de force-pushed the master branch 2 times, most recently from f028133 to 5300091 Compare July 13, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants