P
P
Pavel Melnikov2015-08-19 16:16:50
linux
Pavel Melnikov, 2015-08-19 16:16:50

How to organize access to the provider's internal sites from the Internet?

Good time!
I recently moved to another city, and the old provider has no access to its internal resources (forum, ball, etc.). I would like to set up access to these resources on my home computer.
Available:
Provider, access to the resources of which (for example, share.provider.ru, forum.provider.ru) needs access.
This provider's network has a cheap TP-Link TL-R460 router with a white IP. Behind the router is a small server with Debian on board. Ports can be forwarded if necessary.
I would like to:
From a home computer, all sites open in normal mode, directly, through the current provider, and certain ones are redirected to an existing white IP, for example, using the friGate chrome extension.
I am not strong in this topic, so I am at a loss what technologies to use, how is it better to implement this? This article addresses a similar question in the comments, but I'm not sure what.
I do not want to send all traffic through the connection, there is a rather narrow channel. mstsc, radmin, teamviewer are not considered.
Thanks in advance for your advice.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Eugene, 2015-08-19
@BblKPYTAC

As the simplest and fastest, but not the most convenient solution - ssh tunnel. Forward the ssh port to debian on the router. On your computer, if it is Linux, write in the console

ssh -f <логин>@<ваш белый айпишник> -L<любой незанятый порт>:<айпишник ресурса провайдера>:<порт ресурса провайдера, для хттп 80> -N

For example: ssh -f [email protected] -L47364:192.168.26.14:80 -N
If the computer is under Windows - use putty.
To get to this resource in the browser, enter 127.0.0.1:<указанный свобондый порт>(for the example above, this is 127.0.0.1:47364).
But for good, of course, vpn is better, for example, openvpn. At the same time, it is not necessary to wrap all traffic through it, you can specify only certain addresses.

A
Andrey Khomlyuk, 2015-08-19
@Bizzaro

You need a VPN to that ISP network. In the article on Habré, everything is correct.

V
Vadim K, 2015-08-19
@OLQLOSH

VPN required.

D
Dmitry, 2015-08-19
@plin2s

If nothing else, then you can do this
In the browser, configure the Socks proxy to localhost: 15000.
In the foxyproxy plugin, you can make the use of a specific proxy by URL patterns. It works quite well and there is no need to configure openvpn every time. It is enough to have any ssh client (putty checked, it works)
Although, of course, vpn will be the most correct option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question