L
L
lena972017-06-06 21:34:53
linux
lena97, 2017-06-06 21:34:53

How to connect from the Internet to a computer that connects to the network via a 4g modem?

I have a virtual server with a white ip and several computers that are under the mobile Internet and that need a remote connection. Debian is everywhere.
I tried to install openVPN on a virtual server. The first computer turned out to be set up, but adding another one was not.
Are there any other ways (easier) or maybe someone knows an explanatory instruction in Russian or English on this issue?
Those I need so that at the address 108.82.23.192:5557 I connect to a specific computer on the local network under the mobile Internet. DDNS is not suitable.
Thanks ;=)

Answer the question

In order to leave comments, you need to log in

6 answer(s)
C
CityCat4, 2017-06-07
@CityCat4

Can.
There are already two options, one requires more direct hands, the other - money.
- install and configure a VPN on your computer, through which it will cling to another computer - and go through it
- buy a "white" IP from the provider. ATTENTION! Not a static IP, but a "white" one - because a cunning operator can sell you a permanent gray IP :D

S
silverjoe, 2017-06-06
@silverjoe

You just need to fully configure OpenVPN.
From my laptop, connecting to the OpenVPN network, I can connect to all the servers that are also there.

I
ipswitch, 2017-06-07
@ipswitch

Buy a "direct" IP address from a 4G modem operator:
www.mts.ru/mobil_inet_and_tv/tarifu/internet_dly_o...

A
Alexander Aksentiev, 2017-06-06
@Sanasol

What does it mean to connect?
console - the easiest way is to use dyndns and log in directly.
desktop - software for remote control teamviewer, etc. One account - all computers at hand.
And here your server has no idea, only more complicated.

D
Dimonchik, 2017-06-06
@dimonchik2013

https://www.teamviewer.com/en/download/linux/
is also solved via openvpn : a separate server, all mobile and working ones connect to it, further through routing

A
ALexDud, 2017-06-12
@ALexDud

Hello. A somewhat similar situation:
- "I'm sharing a solution. Video surveillance, 3G Internet channel, in the lanka behind NAT cameras and NVR. You need a white IP to access the network behind NAT - configuring cameras and NVR via WEB-ku, access to video streams via RTSP, in general maximum presence in the LAN network for "impenetrable"
3G.Found an inexpensive VPS on KVM.Ubuntu and n2n (VPN) in the cloud, and on the side of video surveillance there is an OpenWRT router with n2n, I make VPS a router, where white IP is WAN, and n2n is LAN , in the WAN router it's n2n, but the LAN is as it is. I did masquerading and port forwarding, but you can also "cheat" with iproute and fw
.
, of course, not L2 switching, but the goal is achieved.
This is how white IP for 3G did."
Taken from here: https://www.facebook.com/groups/544526842412151/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question