{"action":"created","issue":{"url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/161","repository_url":"https://api.github.com/repos/pivotal-cf/pcfdev","labels_url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/161/comments","events_url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/161/events","html_url":"https://github.com/pivotal-cf/pcfdev/issues/161","id":184472698,"number":161,"title":"Running pcfdev on my Desktop machine and CF CLI on Macbook laptop","user":{"login":"amitoj","id":2438007,"avatar_url":"https://avatars.githubusercontent.com/u/2438007?v=3","gravatar_id":"","url":"https://api.github.com/users/amitoj","html_url":"https://github.com/amitoj","followers_url":"https://api.github.com/users/amitoj/followers","following_url":"https://api.github.com/users/amitoj/following{/other_user}","gists_url":"https://api.github.com/users/amitoj/gists{/gist_id}","starred_url":"https://api.github.com/users/amitoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitoj/subscriptions","organizations_url":"https://api.github.com/users/amitoj/orgs","repos_url":"https://api.github.com/users/amitoj/repos","events_url":"https://api.github.com/users/amitoj/events{/privacy}","received_events_url":"https://api.github.com/users/amitoj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-21T12:23:33Z","updated_at":"2016-10-21T12:29:27Z","closed_at":null,"body":"I've been using pcfdev on my Macbook (16GB) so far without any issues, but lately I've added other VMs such as - Artifactory, Concourse CI & MongoDB. \r\nAll these virtual machines are competing for limited amount of RAM, and using pcfdev with Spring Cloud Services doubled the RAM config requirements. \r\nAt times my laptop grinds to halt and my Java IDE becomes unresponsive as there is no RAM left for normal OS tasks and is heavily swapping memory in the background.\r\n\r\nI tried moving my pcfdev environment to my desktop which has plenty of free RAM and much more CPU horsepower, whilst keeping my dev environment with other Vagrant machines intact on my Macbook.\r\n\r\nThe issue I've is - \r\nHow do I bind my desktop's SSL port 443 to pcfdev's 192.168.11.11:443? \r\nSo running cf commands on my Macbook are executing on pcfdev running on my desktop.\r\nexample-\r\n> cf login -a https://10.1.xx.y --skip-ssl-validation\r\n\r\nI tried VirtualBox port forwarding option, but it seems to forward the request onwards to pcfdev with my desktop IP address. The error message i get is\r\n> 404 Not Found: Requested route ('10.1.xx.y') does not exist.'\r\n\r\nAlso, tried various other options - using NGINX and squid web proxy - none of them worked out of the box with minimal config tweak.\r\n\r\nPlease let me know if this is a valid configuration in which I can use pcfdev?\r\nIt will accelerate my CloudFoundry and Spring Cloud learning process a lot.\r\n\r\nKind Regards"},"comment":{"url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/comments/255366725","html_url":"https://github.com/pivotal-cf/pcfdev/issues/161#issuecomment-255366725","issue_url":"https://api.github.com/repos/pivotal-cf/pcfdev/issues/161","id":255366725,"user":{"login":"davidwadden","id":9936700,"avatar_url":"https://avatars.githubusercontent.com/u/9936700?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwadden","html_url":"https://github.com/davidwadden","followers_url":"https://api.github.com/users/davidwadden/followers","following_url":"https://api.github.com/users/davidwadden/following{/other_user}","gists_url":"https://api.github.com/users/davidwadden/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwadden/subscriptions","organizations_url":"https://api.github.com/users/davidwadden/orgs","repos_url":"https://api.github.com/users/davidwadden/repos","events_url":"https://api.github.com/users/davidwadden/events{/privacy}","received_events_url":"https://api.github.com/users/davidwadden/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T12:29:27Z","updated_at":"2016-10-21T12:29:27Z","body":"I've gotten this to work myself.\r\n\r\nDNS might give you some grief, you'll need to start PCF Dev using some options like `cf dev start -i 192.168.11.100 -d my.pcfdev.io` and run dnsmasq on the host to serve up `*.my.pcfdev.io`.\r\n\r\nOnce that's done, then you can `sudo -sH` (so you can bind privileged ports < 1024) on the host and run something like to do the host to guest port forwarding:\r\n\r\n```\r\nssh user@localhost -N -L 0.0.0.0:80:192.168.11.100:80 -L 0.0.0.0:443:192.168.11.100:443 -L 0.0.0.0:2222:192.168.11.100:2222\r\n```"}}
{"actor":{"display_login":"davidwadden"}}