bosh-lite icon indicating copy to clipboard operation
bosh-lite copied to clipboard

Map host port to bosh-lite port

Open qibobo opened this issue 8 years ago • 1 comments

I install a bosh-lite on my physical machine and deployed cf-release on it. On the machine I can use bosh target 192.168.50.4 lite to set bosh target. However, I want to access the bosh director from another remote machine, so I tried to redirect to request to physical machine to the bosh-lite by iptables, but can not work. Machine1 ip: 9.123.156.41, machine2 ip is: 9.123.156.42, I add a rule by: iptables -t nat -A PREROUTING -p tcp -d 9.123.156.41 --dport 25555 -j DNAT --to 192.168.50.4:25555 So I want to use bosh target 9.123.156.41:25555 to access bosh director on machine2, but can not work.

How to do it?

qibobo avatar Aug 11 '17 16:08 qibobo

Closing - sounds like this was resolved elsewhere.

dpb587-pivotal avatar Sep 13 '17 01:09 dpb587-pivotal