P
P
partisan422020-09-15 07:20:17
VPN
partisan42, 2020-09-15 07:20:17

Why no internet after vpn connection?

Good day. I recently encountered Mikrotiks, so I ask you for help.

Essence of the question. I have a router from Mikrotik.
Based on it, an l2tp server was raised using ipsec.
I create a secret, after which I connect to the VPN server I created.
As a result, I see the local network perfectly, but the Internet on the machine with which I connect disappears.
Or rather, pings up to 8.8.8.8 go fine, but up to domains, they don’t.
Please tell me what am I doing wrong?
Below are screenshots of my settings.
Thank you very much in advance.

PS C:\Users\partisan42> route print
===========================================================================
Список интерфейсов
  9...d8 d0 90 33 e3 41 ......Killer E2400 Gigabit Ethernet Controller
 13...0a 00 27 00 00 0d ......VirtualBox Host-Only Ethernet Adapter
 49...........................Company_name
  5...38 00 25 fc 7a 66 ......Microsoft Wi-Fi Direct Virtual Adapter
 17...3a 00 25 fc 7a 65 ......Microsoft Wi-Fi Direct Virtual Adapter #2
  2...38 00 25 fc 7a 65 ......Intel(R) Wireless-AC 9560 160MHz
 15...38 00 25 fc 7a 69 ......Bluetooth Device (Personal Area Network)
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 таблица маршрута
===========================================================================
Активные маршруты:
Сетевой адрес           Маска сети      Адрес шлюза       Интерфейс  Метрика
          0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.173   4250
          0.0.0.0          0.0.0.0         On-link    192.168.89.245     26
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4556
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4556
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4556
      192.168.0.0    255.255.255.0         On-link     192.168.0.173   4506
    192.168.0.173  255.255.255.255         On-link     192.168.0.173   4506
    192.168.0.255  255.255.255.255         On-link     192.168.0.173   4506
     192.168.56.0    255.255.255.0         On-link      192.168.56.1   4506
     192.168.56.1  255.255.255.255         On-link      192.168.56.1   4506
   192.168.56.255  255.255.255.255         On-link      192.168.56.1   4506
   192.168.89.245  255.255.255.255         On-link    192.168.89.245    281
   212.36.226.110  255.255.255.255      192.168.0.1    192.168.0.173   4251
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4556
        224.0.0.0        240.0.0.0         On-link      192.168.56.1   4506
        224.0.0.0        240.0.0.0         On-link     192.168.0.173   4506
        224.0.0.0        240.0.0.0         On-link    192.168.89.245     26
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4556
  255.255.255.255  255.255.255.255         On-link      192.168.56.1   4506
  255.255.255.255  255.255.255.255         On-link     192.168.0.173   4506
  255.255.255.255  255.255.255.255         On-link    192.168.89.245    281
===========================================================================
Постоянные маршруты:
  Отсутствует

IPv6 таблица маршрута
===========================================================================
Активные маршруты:
 Метрика   Сетевой адрес            Шлюз
  1    331 ::1/128                  On-link
 13    281 fe80::/64                On-link
  9    281 fe80::/64                On-link
 13    281 fe80::2c88:44ae:3563:c7a1/128
                                    On-link
  9    281 fe80::a0d6:1d5e:5132:6ec6/128
                                    On-link
  1    331 ff00::/8                 On-link
 13    281 ff00::/8                 On-link
  9    281 ff00::/8                 On-link
===========================================================================
Постоянные маршруты:
  Отсутствует
PS C:\Users\partisan42>


5f6040898a225721987107.png
5f604090268c3250276062.png
5f60409689b8d507532894.png
5f60409be0224008201049.png
5f6040a795cd6395682650.png
5f6040ac85b53588831283.png
5f6040b7c9274490495903.png
5f6040f37387a526063954.png

Ideally, I would like the client to go to the Internet through its own gateway, and to the 192.168.0.0/24 subnet through the VPN.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kprohorow, 2020-09-16
@kprohorow

In the ip address settings for connecting to the vpn network, behind the "Advanced" button, the magic checkbox "Use the default gateway on the remote network" is hidden.
After it is disabled, connections to the Internet will go through the provider, and connections to the local network of the enterprise through vpn.
If that's what you want to achieve, of course.

A
Andrey Barbolin, 2020-09-15
@dronmaxman

> Or rather, pings up to 8.8.8.8 are fine, but up to domains, no longer.
If there is PING, but nslookup habr.ru does not work, then there is no rule in the Firewall or the DNS on the PC is not 8.8.8.8.

K
korsar182, 2020-09-15
@korsar182

Because you didn't specify a DNS server.5f606720c103f745609464.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question