D
D
diiimonn2015-06-29 11:20:49
VPN
diiimonn, 2015-06-29 11:20:49

How to connect to multiple VPN servers?

There are services, they have VPN servers. They give access, for example, in the form of configs to openvpn, keys, etc. Openvpn is launched with a certain config and then all connections go through the corresponding server. To change ip we change a config. Let this principle be "consistent".
What you need:
You need to be able to "parallel", simultaneous access to all VPN servers.
My view of the end result:
The abstract software package should get some local address 127.x.x.x:5656 as socks5 and connect to the site through one of the above VPN servers (depending on the local address). I think you first need to have a socks server that will listen to addresses and somehow proxy it all ...
Tell me the recipe how to cook all this correctly and is it possible.
If possible, then clearer, tk. in question is not strong as you can see.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bukass, 2015-06-29
@bukass

For example mikrotik.

> interface print
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                TYPE       ACTUAL-MTU L2MTU  MAX-L2MTU MAC-ADDRESS      
 0  R  ether1-gateway                      ether            1500  1598       4074 4C:5E:0C:58:DC:84
 1  RS ether2-master-local                 ether            1500  1598       4074 4C:5E:0C:58:DC:85
 2  RS ether3-slave-local                  ether            1500  1598       4074 4C:5E:0C:58:DC:86
 3  R  ether4-slave-local                  ether            1500  1598       4074 4C:5E:0C:58:DC:87
 4  R  ether5-slave-local                  ether            1500  1598       4074 4C:5E:0C:58:DC:88
 5  X  wlan-guest                          wlan                                   4E:5E:0C:58:DC:8A
 6  RS wlan-home                           wlan             1500  2290            4C:5E:0C:58:DC:89
 7 DR  <ovpn-mikrotik>                     ovpn-in          1500
 8 DR  <ovpn-pavloof-1>                    ovpn-in          1500
 9  R  bridge-local                        bridge           1500  1598            4C:5E:0C:58:DC:85
10  X  bridge1                             bridge                                 00:00:00:00:00:00
11  X  eoip-tunnel1                        eoip             1458 65535            02:E5:1F:8D:C1:C3
12  R  l2tp-out1                           l2tp-out         1450
13  R  loopback                            bridge           1500 65535            00:00:00:00:00:00
14  X  ppp-out1                            ppp-out   
15  R  pptp-out1                           pptp-out         1450
16  R  ;;; test vlan_ctrl_to_switch
       vlan12                              vlan             1500  1594            4C:5E:0C:58:DC:88
17  R  vlan2800                            vlan             1500  1594            4C:5E:0C:58:DC:84
18     ;;; test vlan_dhcp_to_switch
       vlan3692                            vlan             1500 65531            02:E5:1F:8D:C1:C3

N
Nikolai Bryansky, 2015-07-02
@NukerPsych

Not quite clear.
But if I understand correctly, it’s enough to make several TAP adapters, and accordingly launch several openvpn instances, and set up routing so that the packets are not all in one link, but to different addresses through different links.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question