So there are two servers:
- Main server, lets call it
M1. It's the server every user will need to access somehow.
- Proxy server, lets call it
P1. It's the server to help some users connect to
P1 servers have fast (Lan) connection between themselves, so you can access
P1 through internal IP. let say this:
10.98.201.15. Some users that are geographically closer to
M1 can connect directly to
M1. Users that are geographically very far away can also connect to
M1, but it suffers heavy latency.
And idea is to let those users connect to
P1, which is closer to those users and then
P1 would tunnel connection via fast line to
M1, theoretically reducing latency.
M1 host is
somemainhost.com, you access Odoo server. It is on reverse proxy too, so you don't need to enter
And then tried this (From
ssh -L 9090:10.98.201.15:8069 firstname.lastname@example.org
And after entering this, it asked me to enter password. I did and I just logged in to
M1 and nothing happened. I tried connecting to
M1 with browser, using this:
But just got connection refused. So I guess I didn't set up any ssh tunneling?
Now how can I make such tunneling connection, so that when user access
someproxyhost.com, proxy server tunnels connection to
somemainhost.com and user actually connects to
Here is an example how it should look like: