Skip to content
forked from funcf/ACLcf

IP whitelisting route service app for Cloud Foundry

License

Notifications You must be signed in to change notification settings

milen-a-radev/ACLcf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACLcf

IP ACL route service app for Cloud Foundry

How to use

# create app as a precondition to set the allowed ips environment variable
cf create-app acl

# edit allowed ips environment variable, which
# can contain single IPs or whole subnet ranges, separated by comma
cf set-env acl ALLOWED_IPS "1.1.1.1,8.8.0.0/16"

# push this app
git clone https://github.com/funcf/ACLcf.git && cd ACLcf
cf push acl

# create a route service with this app where "example.com" is the shared public CF domain
cf create-user-provided-service acl-checker -r https://acl.example.com

# bind the new route service to any of your other apps you want to protect
cf bind-route-service example.com --hostname my-other-app-to-be-protected acl-checker

Guide

See https://docs.cloudfoundry.org/services/route-services.html#user-provided for a more detailed explanation.

About

IP whitelisting route service app for Cloud Foundry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 72.8%
  • Makefile 27.2%