A
A
astrotrain2015-07-04 09:26:44
openvpn
astrotrain, 2015-07-04 09:26:44

How to setup Windows XP + OpenVpn route for linux client?

There is a virtualka with XP on it the OpenVPN client is started. It is necessary to share this access for other clients of the local network. I enabled IPEnableRouter in the registry in the registry and registered the address of the virtual machine on the linux machine as a gateway. Everything worked, but as soon as openvpn rises, the Internet stops working on linux. As I understand it, the problem is in routing on a windows virtual machine. I can't figure out how to set it up correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2015-07-04
@astrotrain

On a Linux machine (and not only on it, but on each machine that needs network access behind a vpn server), you need to add an additional route, and not change the default gateway:
Where:
192.168.0.0/24 is the subnet behind the OpenVPN server
10.10.0.1 - IP address of the machine with XP
In general, somehow the problem is not solved according to Feng Shui. Why share a connection using XP? How do you add routes to other machines in the subnet behind the OpenVPN server, by hand?
If you have access and the right to remake the current architecture, then this is what you should do, as it seems to me. I see two options:
1. What is your gateway? If he knows how to OpenVPN, then you need to organize a connection on it. If he can't, make one so that he can.
2. Connect to the ovpn server for each of the clients. If everyone needs a connection, then see point 1.
In the most extreme case, if it does not work out with the first two:
3. Use not XP, but Linux. On it, you configure the ovpn client and distribute its subnet. Essentially the same as with XP, only more professional.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question