M
M
Marat Akhmetshin2015-12-25 16:43:19
Raspberry Pi
Marat Akhmetshin, 2015-12-25 16:43:19

How to connect to Raspberry Pi from home if the device is on the local network at work?

I have a raspberry that is at work. I connect to it via ssh, sftp and all that. All this happens from a nearby computer. When I go home, then everything ... The work is worth it. How to fix this problem?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
athacker, 2015-12-25
@athacker

Depends on how much control you have over the network in the office. If you have full access, then you can forward the RDP port (do you have Windows on your work computer?) Out through the office router.
If not complete, then you need to configure a VPN server somewhere on the network, with a white IP. And keep a working computer connected to it, as well as connect from home to this VPN server. Then you will have access to a working computer. If you are qualified, you can set up direct access to "raspberries" through such a tunnel, or use RDP to access the console of a working computer.

R
Roman Kitaev, 2015-12-25
@deliro

Forward the port in the router from the outside to the raspberry.

A
Appp Zooo, 2014-05-26
@dergus

jsbin.com/fovujoti/2 some
magic

I
Ilya Lesnykh, 2014-05-26
@Aliance

for the margin to work, you need an adequate width on the parent. in this example, the ul block has a width of 1000 pixels, although its actual width is 550. try changing it and see the result. in addition, you need to clean it up later (clearfix, for example) so that the sizes of ul are considered correctly.

U
ultrabi4, 2014-05-26
@ultrbi4

The menu is centered, it's just that you have a width of 1000px, and the number of list elements is not set to this width and they are left-aligned and here there is an "optical illusion").
There are several solutions:
1) Style the .main-menu (by specifying, for example, a background for it)
2) Align the list items relative to the parent

.main-menu{
    width: 1000px;
    list-style: none;
    padding: 0;
    font-size: 24px;
    margin: 0 auto;
    text-align: center;
}
.main-menu li{
    display: inline-block;
    margin: 0;
    padding: 0;
}

3) Either adjust the width of .main-menu to the sum of the width of all list items.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question