Reputation: 8257
I've got some Python code that uses Omniorb to connect to a corba server, and it all works fine.
Now I'd like to be able to connect to a server behind a firewall by creating an ssh tunnel, but it's not working.
As far as I can tell from wireshark trace, the server is redirecting me to its IP address - which is of course a local network address I cannot reach.
It there any way to handle this and tell the server not to redirect my client? I have no ability to modify the server nor change its IP, etc. Or can I modify my client to fake it's connection so the server accepts it?
Upvotes: 10
Views: 610
Reputation: 146630
The problem would become much simpler if you used a SSH Socks Proxy instead of a SSH Tunnel
ssh -D 8888 <user>@<machine>
Now you have a proxy running at socks5://127.0.0.1:8888
. Next is how to use it with your code. I have no experience with CORBA, so I can only provide options to explore
Upvotes: 0