Skip to content

Instantly share code, notes, and snippets.

@menicosia
Last active April 16, 2018 05:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save menicosia/2e9c414430138064f945 to your computer and use it in GitHub Desktop.
Save menicosia/2e9c414430138064f945 to your computer and use it in GitHub Desktop.
Steps to enable security groups on bosh-lite
  1. cf api https://api.[REPLACE-WITH-YOUR-HAPROXY-IP].xip.io --skip-ssl-validation
  2. cf auth [YOUR CF ADMIN USERNAME] [YOUR CF ADMIN PASSWORD]
  3. Create sg.json file with the following contents:
[
  {
  "protocol": "all",
  "destination": "10.244.4.0-10.254.0.0"
  }
]
  1. cf create-security-group cf-mysql sg.json
  2. cf bind-running-security-group cf-mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment