O
O
other_letter2018-09-04 14:51:46
VPN
other_letter, 2018-09-04 14:51:46

How to deal with routes (route) with two VPNs?

In general, the task is to put on one of the routes only what you want.
The difficulty is that I, of course, cannot manage the server. You need to conjure on your side. For simplicity, let's imagine that this is VPN1 for everything, and VPN2 only for specific resources like jira.company.com and celoxis.de.
Given:

  1. computer on win10
  2. openVPN with two configs
  3. everything works, connects and works at the same time
Активные маршруты:
Сетевой адрес           Маска сети      Адрес шлюза       Интерфейс  Метрика
          0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.48     50
          0.0.0.0          0.0.0.0       10.180.0.1      10.180.0.51     35
          0.0.0.0        128.0.0.0       10.180.0.1      10.180.0.51     35
          0.0.0.0        128.0.0.0     172.16.0.205     172.16.0.206     35
       10.180.0.0      255.255.0.0         On-link       10.180.0.51    291
      10.180.0.51  255.255.255.255         On-link       10.180.0.51    291
   10.180.255.255  255.255.255.255         On-link       10.180.0.51    291
     31.220.24.28  255.255.255.255       10.180.0.1      10.180.0.51     35
     37.1.202.212  255.255.255.255      192.168.1.1     192.168.1.48     50
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
        128.0.0.0        128.0.0.0       10.180.0.1      10.180.0.51     35
        128.0.0.0        128.0.0.0     172.16.0.205     172.16.0.206     35
       172.16.0.1  255.255.255.255     172.16.0.205     172.16.0.206     35
     172.16.0.204  255.255.255.252         On-link      172.16.0.206    291
     172.16.0.206  255.255.255.255         On-link      172.16.0.206    291
     172.16.0.207  255.255.255.255         On-link      172.16.0.206    291
      192.168.1.0    255.255.255.0         On-link      192.168.1.48    306
     192.168.1.48  255.255.255.255         On-link      192.168.1.48    306
    192.168.1.255  255.255.255.255         On-link      192.168.1.48    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link      192.168.1.48    306
        224.0.0.0        240.0.0.0         On-link       10.180.0.51    291
        224.0.0.0        240.0.0.0         On-link      172.16.0.206    291
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link      192.168.1.48    306
  255.255.255.255  255.255.255.255         On-link       10.180.0.51    291
  255.255.255.255  255.255.255.255         On-link      172.16.0.206    291
===========================================================================

And I can’t track it somehow - so that, for example, the torrent doesn’t pop where it’s not necessary and gobble up traffic from the customer.
I ask for hints.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TyzhSysAdmin, 2018-09-04
@POS_troi

All you can do is write a specific route to the client VPN,
Accordingly, calls to these addresses will go to the desired interface, the rest to the default laptop.

S
Sergey, 2018-09-04
@feanor7

play around with metrics?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question