How to create a VPN server and connect to your home and office LAN - SoftEther VPN Server, cover

How to create a VPN server and connect to your home LAN

Connecting remotely to your home or office LAN offers multiple features. To do this, in this article, we see how to create a VPN server (Virtual Private Network, or Virtual Private Network), which acts as a bridge between the remote computer and the local home and office network.

Subscribe my YouTube channel ValorosoIT. Retro technology, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Surfing the net from the remote computer that connects to the VPN, the browsing IP address is no longer the same as the computer, but that of the home or office. In fact, the computer that connects to the VPN server, while having its own Internet connection, uses the home or office network to route browsing data. For this reason, many also use the VPN for privacy, so as not to make known the IP address of their device that connects to the Internet. In our case, however, we do not make it a matter of privacy, since the IP address shown would still be that of home or that of the office. To browse with an IP address different from ours, perhaps an IP address from other countries, you have to use an online VPN service.

In this article we see how to create a VPN server for the convenience of connecting remotely to your home or office LAN.

By connecting remotely to your home or office LAN, you can access your shared files and printers, just as if you were physically connected to your local network.

If a NAS (Network Attached Storage) is connected to your local home or office network, you can access all the files inside. Obviously the data must pass through the Internet, so the performance depends on connectivity (in particular, the data transfer performance is affected by the upload bands).

NAS, Network Attached Storage, LAN home office network

It is possible to access the various computers via remote desktop, without turning the ports on the router and ensuring greater security: the only open port is that of the VPN server.

Obviously, all devices must be connected to the same subnet where we set the local bridge in the VPN Server (and soon we will see how to do it).

In addition to computers, printers and NAS, we can also connect to the photovoltaic system, the DVR, the home automation system, in short, to all the devices connected to the network at home or in the office.

In this article we study how to configure a computer to host and create a VPN server, in a very simple way. I describe the software to install on remote computers in this other article.

Why we don't use the built-in Windows feature to create a VPN?

From the window Network Connections, you can press Alt + F to create a New incoming connection. This option only works if the router, which we have at home or in the office, is able to turn the GRE (Generic Routing Encapsulation) protocol to the computer that acts as a VPN server. Often, routers can only run the TCP and UDP protocols, so we would never be able to connect with the native Windows VPN, missing the GRE protocol.

Windows 10, Control Panel, Network and Internet, Network Connections, New Incoming Connection, VPN

Free alternative to create a VPN and connect to your home or office LAN

I did some tests with OpenVPN and SoftEther VPN and, in the end, I chose to create a VPN server to connect to the home or office LAN with SoftEther VPN.

SoftEther VPN is free, open source and, moreover, also quite simple to install and configure. It offers many features. In this article, I explain how to create a VPN server by installing SoftEther VPN Server on a Windows computer that we have designated as a server.

This second article show how to install SoftEther VPN Client on remote computers that you want to connect to the home or office LAN via VPN.

What Is SoftEther VPN?

SoftEther VPN (“SoftEther” means “Ethernet Software”) is one of the most powerful and easy-to-use multi-protocol VPN (Virtual Private Network) software. Works on Windows, Linux, Mac, FreeBSD and Solaris.

SoftEther VPN is open source. You can use SoftEther for any personal or commercial use for free.

SoftEther VPN is a great alternative to OpenVPN and Microsoft's VPN servers. SoftEther VPN has a clone feature of OpenVPN Server. It is possible to integrate from OpenVPN to SoftEther VPN. SoftEther VPN also supports Microsoft SSTP VPN.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

SoftEther VPN can be used to realize BYOD (Bring Your Own Device) in the company. If you have a smartphone, tablet, or laptop PC, SoftEther VPN's L2TP/IPsec server feature allows you to establish a remote access VPN from your local area network. SoftEther VPN's L2TP VPN server is compatible with Windows, Mac, iOS, and Android.

SoftEther VPN has strong compatibility with today's most popular VPN products in the world. It has interoperability with OpenVPN, L2TP, IPsec, EtherIP, L2TPv3, Cisco VPN routers, and MS-SSTP VPN clients. SoftEther VPN supports SSL-VPN, OpenVPN, L2TP, EtherIP, L2TPv3, and IPsec, as a single VPN software.

SoftEther VPN is a free software because it was developed as research of Daiyuu Nobori's dissertation at the university.

Set the static local IP address of the computer hosting the VPN Server

We choose a computer, possibly that consumes little power, which must remain on to allow remote users to connect to the home or office network. In this article I describe how to configure a computer with Windows 10 operating system, to create a VPN server.

This computer, on which we install and configure SoftEther VPN Server, must have a static local IP, because the last step involves opening ports in the router and directing incoming connections to this computer.

To set a static local IP address to your computer, you can do this in two ways.

The first way to set a static local IP address, not always possible, can be found in the router: on some routers you can assign static addresses to some computers, in the DHCP function.

Windows 10 set static IP address local area network LAN computer server control panel, internet protocol properties version 4 ipv4, operating system, network connections, network adapter settings

Alternatively, you have to go to the Windows Settings, Network and Internet, Network and Sharing Center, Change tab settings.

Select the network card where the Internet connection is present and, with the right mouse button, open the menu and click yes Property.

Click on Version 4 Internet Protocol (TCP/IPv4) and then press Property.

Set a static IP address, of course it must be a free IP address, not used by other computers in the local network.

Set up tables Use the following IP address and Use the following DNS server addresses.

How to install SoftEther VPN Server

Download now SoftEther VPN Server from the official website of SoftEther (SoftEther Download Center).

Download SoftEther VPN Server for free, free download, www.softether.org

Select the platform (in this case Windows, but you can also install the VPN server on FreeBSD, Linux, Solaris and Mac OS X computers).

Select the CPU that, when installed under Windows, has a single choice (x86 and x64). On Linux, you can also choose other types of CPUs in addition to Intel, such as, for example, ARM.

Download SoftEther VPN Server for free, free download, freeware, cpu component platform, www.softether.org

From the list of files that is formed below the selection boxes, download the latest version of SoftEther VPN which, at the time of writing this article, is:

SoftEther VPN Server and VPN Bridge (Ver 4.38, Build 9760, rtm)
softether-vpnserver_vpnbridge-v4.38-9760-rtm-2021.08.17-windows-x86_x64-intel.exe (51.28 MB)
Download SoftEther VPN Server for free, free download, Server Bridge

After downloading the installer, we can find it in the downloads folder.

Download SoftEther VPN Server, computer download folder

We launch the installer you just downloaded.

Obviously, you must have the privileges of Computer Administrator, otherwise we will not be able to continue with the installation.

The installation starts with a presentation window: SoftEther VPN is a freeware (free) and Open-Source program, developed at the University of Tsukuba, Japan.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Let's press Avanti >.

How to install SoftEther VPN Server Setup Wizard, installation, installation guide, tutorial install

Windows prompts you to confirm that you can allow the app to make changes to your device. Obviously you have to press Yes.

Download SoftEther VPN Server Setup Wizard, enable changes to the administrator computer, , installation guide, step by step tutorial to install SoftEther

We want to install the VPN server, which allows other remote computers to connect to the local LAN network of your home or office.

Let's select SoftEther VPN Server and click on Avanti >.

How to install SoftEther VPN Server Setup Wizard, installation, Create a VPN server and connect to your home LAN, installation guide, step by step tutorial to install SoftEther

We must accept the End User License and then click on Avanti >.

How to install SoftEther VPN Server Setup Wizard, end user agreement

A window opens with warnings. In summary, they explain that the software is very powerful and comes with a lot of features. Precisely for this reason, if configured or used poorly, the software may harm the User.

In addition, external services such as the Dynamic DNS (DDNS) that we will see later, TRANSVERSAL NAT, VPN Azure may not always be available.

After reading the warnings, you can continue with the installation.

Install SoftEther VPN Server Setup Wizard, important notices

The program is installed in the folder:

C:\Program Files\SoftEther VPN Server

Let's select Avanti >, without the advanced options. We can then proceed to install the software, pressing again on Avanti >.

Install SoftEther VPN Server Setup Wizard, directory to install, Create a VPN server and connect to your home LAN, installation guide, step by step tutorial to install SoftEther

Before installation, Windows creates a restore point.

Install SoftEther VPN Server Setup Wizard, installation setup in progress, installation guide, step by step tutorial to install SoftEther

At the end of the installation, we press on Fine, making sure it is selected Start the SoftEther VPN Server Manager. We are therefore halfway through the process of creating a VPN server.

Install SoftEther VPN Server Setup Wizard, setup finished completed successfully, Create a VPN server and connect to your home LAN, installation guide, step by step tutorial to install SoftEther

Configure virtual private network (VPN) with SoftEther VPN Server Manager

Just started, SoftEther VPN Server Manager it comes with an empty configuration. First of all, let's select the only available configuration localhost (This server).

At the moment, we do not change the settings, so we do not have to press the button yet Edit Setting.

We must connect to the VPN Server, which we have just installed, to configure it. Therefore, we click on Connect or we double click on the name of the configuration.

Configure SoftEther VPN Server Manager, localhost connect, How to create a VPN server and connect to your home LAN, installation guide, step by step tutorial to install SoftEther

We set the password to access the configuration. This password is only used to configure the VPN Server and should not be confused with the password that we will use to access the local network remotely. Type the password both on New password, both in Confirm Password, then press Ok.

Configure-SoftEther-VPN-Server-Manager-localhost-connect-set-password-1

Press again Ok on notice: The password has been changed.

Configurare SoftEther VPN Server Manager, localhost connect password has been changed

In the window that opens, we select Remote Access VPN Server and we click Next >.

Configure SoftEther VPN Server Bridge, remote access VPN server, installation guide, step by step tutorial to install SoftEther

This is the setting that allows you to configure a VPN server to remotely access the LAN network of your home or office.

Confirm that you want to initialize the server.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Configure SoftEther VPN Server Bridge Manager, set up, initialize server, How to create a VPN server and connect to your home LAN

SoftEther VPN asks what we want to call our Virtual HUB. We can call it, for example ValorosoIT.

Configure SoftEther VPN Server, decide Virtual Hub Name, How to create a VPN server and connect to your home LAN

The window for configuring Dynamic DNS opens. This feature is useful if you don't have a static IP address. Set the name of the virtual network hostname. Then click Set to Above Hostname.

Configure SoftEther VPN Server, Dynamic DNS Function, How to create a VPN server and connect to your home LAN, installation guide, step by step tutorial to install SoftEther

If the hostname is available, the name is changed to what you just typed. Confirm by pressing Ok and then Exit.

Configure SoftEther VPN Server, Dynamic DNS Hostname changed

there are other settings to allow access to the local network through protocols IPsec, L2TP, EtherIP, L2TPv3. These protocols are used to allow access to the local network to devices such as Smartphones (iPhone, iPad, Android phones), other PCs and Mac OS X. At this time, we do not set any of these functions. In fact, the purpose of this article is to connect a remote Windows (or Linux) computer to the local network of our home or office.

Therefore, we reward directly Ok without enabling any function.

Configure SoftEther VPN Server, IPsec L2TP EtherIP L2TPv3, How to create a VPN server and connect to your home LAN

The same goes for the VPN Azure Cloud. At the moment we are not interested, so we select Disable VPN Azure and click ok.

Configure SoftEther VPN Server, VPN Azure Service Cloud

Now let's define the username of the VPN connection. Click on Create Users.

Configure SoftEther VPN Server, Create Users, Set Local Bridge, Ethernet Device, installation guide, step by step tutorial to install SoftEther
  • User Name: we set the username, for example ValoNet;
  • Full Name: we type the user's name;
  • On Auth Type, we select Password Authentication;
  • We type and confirm the password;

We can press Ok.

The user is created. We reward again Ok.

Configure SoftEther VPN Server, Create New User, Password, Authentication, How to create a VPN server and connect to your home LAN

For the purpose of this article, we can create a single user. A single user still allows you to connect multiple remote computers to your local network. You may need to create multiple users, for example, in the office. Using multiple users to log on to the network is convenient to change the passwords of the individual user, or to remove a user if necessary.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Let's press Exit.

Configure SoftEther VPN Server, Manage Users, users to connect remotely to your home LAN, step by step tutorial to install SoftEther, guide to create a VPN

The computer returns to the previous window, where we must set the local bridge. We select the network adapter that connects to the local network.

If your computer (our VPN server) is equipped with only one network card, we have little to choose from! If the computer is equipped with multiple network adapters, such as a network adapter that connects to the WAN (Internet) and one that connects to the LAN (local area network), we must select the card that connects to the LAN.

With the remote computer, in fact, we can only connect to devices connected to the same subnet as the network card that we use as a local bridge.

Let's press Close.

Configure SoftEther VPN Server, Local Bridge, select the network adapter connected to the subnet, step by step tutorial to install SoftEther, guide to create a VPN

Well, our server is configured!

You can see that it is always possible to change the configurations from this screen. Even if we did not set them during installation, it is always possible to enable the protocols for connecting smartphones, etc...

Configure SoftEther VPN Server, Manage VPN Server localhost, VPN virtual private network settings, Create a VPN server and connect to your home LAN, step by step tutorial to install SoftEther, guide to create a VPN

If we don't need it, we can disable OpenVPN access. OpenVPN is another software for creating VPNs.

We click on OpenVPN / MS-SSTP Setting and we disable everything. Then we reward Ok.

Configure SoftEther VPN Server, OpenVPN MS-SSTP Clone, IPSEC, VPN Virtual Private Network Settings

To make our VPN server a little more secure, we can change the port to which the remote connections arrive. By default, ports 443, 992, 1194, and 5555 are open.

Subscribe my YouTube channel ValorosoIT. Retro technology, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

We can set another one, for example port 2324. We will have to make a way that our router turns the remote connections intended for port 2324 to the local IP address of our VPN server. Later, at the bottom of this article, we will see how to do it.

For this reason, as already explained before, the IP address of the computer where we install SoftEther VPN Server, must have a static local IP address.

First we create the new listening port: the 2324, for example. In Listener List Table (TCP/IP port), we press the Created. We type 2324 and then Ok.

Configure SoftEther VPN Server, Manage VPN Server, listening port 443 992 1194 5555, listener port create

Next, we remove the doors that we do not use: the 443, the 992, the 1194 and the 5555. We click on each port and then on Delete. Confirm.

Configure SoftEther VPN Server, Manage VPN Server, listening port 443 992 1194 5555, listener port delete

We remain only with port 2324. This is optional to increase security. In fact, port 5555, being by default, is known. The new door is known only by those who created it.

Perfect! Everything is set: we can press Exit.

Configure SoftEther VPN Server, Manage VPN Server, listening port 2324, listener port, step by step tutorial to install SoftEther, guide to create a VPN, create a VPN server and connect to your home LAN

From the initial window of the SoftEther VPN Server Manager, we need to update the connection settings.

In fact, trying to connect now to change the settings, you can no longer enter the server, because we have changed the listening port.

We select the setting localhost and click on Edit Setting.

Configure SoftEther VPN Server Manager, localhost edit setting port, How to create a VPN server and connect to your home LAN

We can set the Setting Name with a fancy name. I set ValorosoIT.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

In addition, we modify the Port Number with the port we created before, in my case 2324.

Configure SoftEther VPN Server Manager, edit localhost, VPN server connection settings, how to create a VPN server and connect to your home LAN

At this point, the settings access is also set. You can try pressing Connect and see if you can enter the VPN Server settings.

Now that the server is in place, we can configure the router.

How to turn the ports of the router to allow the VPN connection

So that a remote computer can connect to the local network, through the VPN server that we have just created with SoftEther VPN Server, you must enable incoming connections on your home or office router. Some call this operation - "turn the ports of the router".

This is different from router to router. For example, in the FritzBox router, you have to go to Internet, Permit Access. From the table Port Sharing, you have to click on Add Device for Sharing.

Turn router ports, Fritzbox 7530 router input connections, enable router ports, port sharing

Indicated Enter the IP address manually, then type in the local IP address of the computer where we installed SoftEther VPN, in my case 192.168.1.101. At the bottom, click New Sharing.

Turn router ports, Fritzbox 7530 router input connections, enable router ports, port sharing, new sharing, re-enable

Select Other application, as a name we can enter VPN Server, TCP protocol, external port 2324 (or the port you chose before). Make sure that Enable sharing is checked. Press Ok.

Turn router ports, Fritzbox 7530 router input connections, enable router ports, port sharing, new sharing, new port enablement

Press again Ok to save the VPN server port enablement.

Turn router ports, Fritzbox 7530 router input connections, enable router ports, port sharing, new sharing, port assigned

The port is opened and turned to the computer with the IP address indicated (which must be the static IP address of the computer where we have installed SoftEther VPN Server). The green dot lights up the moment an incoming connection is turned.

Turn router ports, Fritzbox 7530 router input connections, enable router ports, port sharing, new sharing, save enablement

Other routers may have different ways to open (or turn) ports and direct requests to a specific computer.

Follow me on Instagram channel. Retro technology, Commodore, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

For example, in the Balanced Touter TP-Link, the settings are located in Advanced, NAT, table Virtual Server. Set the port with the same logic seen before: TCP protocol, port 2324 pointing to the internal computer 192.168.1.101.

Turn router ports, TP-Link TL-R470T router input connections, enable router ports, virtual server

In the NetGear Genie router, the settings to enable the VPN server port can be found in the table Advanced, Advanced Setup, Port Forwarding / Port Triggering.

Turn router ports, NetGear Genie router input connections JNR1010v2 JNR1010, port forwarding forward, service
Turn router ports, NetGear Genie JNR1010v2 JNR1010 router input connections, port forwarding forward, custom service

In the LinkSys router, to turn the ports you have to go to Applications & Gaming, Single Port Forward. Enter the settings, as we have seen them above, and click on Save Settings down.

Turn router ports, LinkSys Wireless-G WRT54GL router input connections, single port forward, external internal port protocol enable

Go on...

Now that the VPN Server and the router are configured, we can proceed to install the client on the various remote computers that need to connect to the VPN.

The procedure for downloading, installing and configuring SoftEther VPN Client for remote computers is described in this other article.

Subscribe my YouTube channel ValorosoIT. Retro technology, vintage audio, retro computers, experiments and tests. Retroprogramming, Basic. Commodore, IBM, Atari, Apple, Texas Instruments, Amstrad, MSX.

Do you like this page? Share it:

Posted in Computers and Technology, All articles.

29 Comments

  1. The method I described in the article is based on TCP/IP. However, there are other VPN configuration options, including OpenVPN (UDP) compatibility.

  2. Good morning
    I really enjoyed the article for the VPN.
    My need is to install a VPN on a computer always on at home, and connect remotely abroad with an android phone, where I have the Nowtv app, which allows you to download streaming content, so even if the connection is slow I would see them once downloaded.

    The only point that is not clear to me is to turn the NAT ports.
    at home I do not have ADSL, but I use a 4g modem, with an Iliad sim.
    It is a soap modem from Huawei; maybe to turn the NAT ports I need a better 4G modem?
    Can you recommend a specific modem?
    Thank you

  3. Good morning! Unfortunately, many 4G operators do not offer public IP service and the ports are not turnable, as is done with ADSL or fiber. In my opinion, you should contact your telephone operator to find out if they can offer you the public IP service and how to possibly turn the doors.

  4. Buongasera,
    Thank you for the two articles on how to configure softether servers and clients. I did when described in the articles and the server and client connect perfectly. I can't use the Windows Remote Desktop software, I can't figure out what ip address of the client I need to use.
    Can you give me a hand?.
    Thank you for your kind reply

  5. Good morning! Through VPN connection from abroad, then to a server in Italy, would it be possible to pass the connection to a specific Italian internet operator? I ask for Sky Q without a dish, in which there are restrictions on operators. In practice, if the telephone / internet operator is not among those currently compatible with Sky Q without a dish, the vision will be suspended. I'm not well versed in this field, so I'm trying to understand if a simple connection via VPN is enough, or for the question of operators is not enough. Thank you for your reply

  6. Good morning! The VPN does just that: it's as if you were connected directly to the operator where the computer is serving as a server at home. That said, you should try if the bandwidth of the VPN is sufficient and if there are no other restrictions.

  7. Hi to every one, it's genuinely a good for me too pay a visit this website, it includes important Information.

  8. As a security measure, it's crucial to change the default login credentials for 192.168.1.1 to prevent unauthorized access to your router.

  9. Good morning, guide done very well, understandable and clear.
    I managed to make the connection but in the client network I do not see the pc of the company's network.
    May I ask you for some ideas?
    Thank you so much
    Anonymous

  10. Hello, a really well done guide.
    Do you think the configurations are the same for a NAS installation?
    My Netgear has it pre-installed and I would like to try…
    Thank you

  11. Howdy! Thanks for the compliments. If your NAS already has a VPN server, you don't need another one. There will be settings on the router, similar to what I described in the article.

  12. Good morning Amedeo,
    Thank you for your reply.
    In my previous message I think I did not explain myself too well. On my NAS (Netgear RN202) is
    already a pre-installed package of SoftEther VPN, a rather dated version to be honest. I followed your guide
    but server and client do not communicate and so I was wondering if for an installation on NAS there was some corrective
    compared to what you wrote.
    Thanks again.
    Mark

  13. Good morning. I'm sorry, but I don't know that NAS and I can't tell you if it's a matter of protocols or updating. I advise you to check that the enabled protocols are the ones I set. Nothing else comes to mind, I'm sorry.

  14. Thank you very much for the excellent guide, just one question: if I want to connect from the company PC without installing software (they have set a block for "gaming" sites including Twitch that I watch during breaks) there is a Firefox, Chrome extension or another browser that performs the same functions by browsing only from that browser without "fiddling" with the internet settings of the company PC? I did a search but I only find extensions from the usual DNS providers with default settings.
    Thank you and congratulations for the blog!

  15. Thank you! As far as I know, you can use Opera Browser, which has a built-in VPN. Or you can use the TOR Browser, which protects privacy and allows anonymity. There are also Chrome extensions, as you point out, but I've never tried them.

  16. Kudos for the guide. The setup procedure is explained in detail, step-by-step, comprehensively and comprehensively!

  17. Good morning, guide done very well, understandable and clear.
    I managed to make the connection but in the client network I do not see the pc of the company's network.
    May I ask you for some ideas?

  18. Good morning. The computers to be placed on the network must be set up as a "private" and not "public" network. Have you tried typing the computer name instead of searching for it? For example: \COMPUTERHARD_DISK_NAME

Leave a Reply

Your email address will not be published. Required fields are marked *