Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Map host port to bosh-lite port #434

Open
qibobo opened this issue Aug 11, 2017 · 1 comment
Open

Map host port to bosh-lite port #434

qibobo opened this issue Aug 11, 2017 · 1 comment

Comments

@qibobo
Copy link

qibobo commented Aug 11, 2017

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?

@dpb587-pivotal
Copy link
Contributor

Closing - sounds like this was resolved elsewhere.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants