Reworking the local network or a student in quarantine

Greetings Habr readers!

In this article, I will talk about how I routed all traffic through a VPN, raised file storage for files, and what preceded this.

It was one winter evening, when my father's work laptop was replaced at work and new software was installed on it.

The laptop came home, connected to the docking station and everything else, and connected to the home Wi-Fi.

Everything worked well, the connection was stable, the signal was strong. No signs of trouble.

The next morning, the father turns on the laptop, connects to the VPN, and something starts to fail.
I measure the speed and signal strength without a VPN - everything is ok.

I measured the speed over VPN - 0,5 mb / s. I danced with a tambourine - nothing helped.

Sis said. call the admin. It turns out that in the office on the laptop was not the nearest VPN server, but some Asian one. Changed the config - everything works fine.

Literally a week passed - the connection began to break off. Colleagues were okay, but at home everything is bad.

It turns out that some update has recently arrived that blows the brains out of the VPN client and requires only a wired connection.

I took out a 30-meter wire, which I got from Beeline, and stretched it through the corridor to my laptop. However, this may not be a permanent solution because walking and tripping over it is not an option.

A week passed, but then I remembered that I recently bought a new router, and I put the old one in a box and put it away. Blowed the dust off the box and gave the old man a second life. The whole movement started with him.

Reworking the local network or a student in quarantine

I set it up in repeater mode, set up seamless Wi-Fi (like other routers - I don’t know, but I like Asus’ web interface) and connected my father’s laptop to this router via a patch cord. Unexpectedly, but everything worked!

This is where my eyes lit up. As a home server, I have a laptop with a long cracked case, Lenovo IdeaPad U510. On it, I shared hard drives (2 physical and several logical) and a printer that is connected to it. I think everyone can set up sharing.

Reworking the local network or a student in quarantine

We got this picture on all devices in LAN. I didn’t particularly bother, because. All of our laptops are on Windows 10.

Reworking the local network or a student in quarantine

SpoilerWe have been storing photos and other rubbish on that laptop for a long time, but sharing is much more convenient than connecting the phone to a laptop whose case is about to die completely.

I was satisfied, but something was missing. For example, due to corporate policy on my parents' laptops, I can't install Telegram for them, and the web version doesn't work without a VPN. This upset me.

Then I remembered that Beeline changed the method of authorization on the network and now I can not use their L2TP, but put any VPN server in the router settings.

I took an inexpensive server with Ubuntu 18.04 from TimeWeb in St. Petersburg, since the channel on it is 200 mb / s.

Then I went to configure L2TP, but I realized that it was too steamy, reinstalled the system and configured PPTP. I will not describe the process of raising PPTP, you can google it. What matters is the fact that everything works.

Reworking the local network or a student in quarantine

Registered in the VPN configs and went to configure the router.

Reworking the local network or a student in quarantine

Face palmWhile setting up the router, I ran into the fact that the MMPE 128 parameter must be specified manually, and not rely on the β€œAuto” setting

As a result, everything is connected and working.

Reworking the local network or a student in quarantine

As a result, I got the expected result without much decrease in Internet speed and increase in ping.

Reworking the local network or a student in quarantine

Reworking the local network or a student in quarantine

And what I like about this approach is that you don’t need to configure VPN settings on clients, and besides, it’s not always possible on working machines, but it’s enough to do all this only once on the router.

Source: habr.com

Add a comment