M
M
Maxim2014-04-24 12:47:14
Computer networks
Maxim, 2014-04-24 12:47:14

How to set up routing in Windows?

There are two computers
1) windows xp OS two network cards
a) 192.168.0.0/24 (192.168.0.106) looks in the Internet
b) 10.214.2.128/25 (10.214.2.133)
c) OpenVPN 192.168.3.1
==== routing table= ==
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.106 10
192.168.3.0 255.255.255.0 192.168.3.2 192.168.3.1 1
10.214.2.128 255.255.255.128, 255.255.255.128 10.214.2.133 10.214.2.133 10
10.214.2.133, 10,215.255.255 127.0.0.1 127.0.0.1 10
10.255.255.255 255.255.255.255 10.214.2.133 10.214.2.133 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.106 192.168.0.106 10
192.168.0.106 255.255.255.255 127.0.0.1 127.0.0.1 10
192.168.0.255 255.255.0.106 192.168. 0.106 10
192.168.3.0 255.255.255.252 192.168.3.1 192.168.3.1 30
192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.3.255 255.255.255.255 255.255.255.255 192.168.3.1 192.168.3.1 10
224.0.0.0.0.0.0.0.0 10.214.2.133 10.214.2.133 10
224.0.0.0 240.0.0.0 192.168.0.106 192.168.0.106 10
224.0.0.0.0 0.0.0.0.0 192.168.3.1 192.168.3.1 30
255.255.255.255 255.255.255.255, 10.214.2.133, 10.21.4.2155
255.255.255.255, 192.165.0.106 192.168. 0.106 1 255.255.255.255 255.255.255.255
192.168.3.1 192.168.3.1 1 Default
gateway 192.168.0.1 routing table=== 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.3 25
10.214.2.128 255.255.255.128 192.168.3.1 192.168.3.2 31
127.0.0.0 255.0.0.0 On-Link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-Link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-Link 127.0. 0.1 306
192.168.1.0 255.255.255.0 On-Link 192.168.1.3 281
192.168.1.3 255.255.255.255 On-Link 192.168.1.3 281
192.168.1.255 255.255.255.255 On-Link 192.168.1.3 281
192.168.3.0 255.255.255.0 On-Link 192.168.3.2 286
192.168.3.2 255.255.255.255 ON-LINK 192.168.3.2 286
192.168.3.255 255.255.255.255 On-Link 192.168.3.2 286
224.0.0.0 240.0.0.0 On-Link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-Link 192.168. 3.2 286
224.0.0.0 240.0.0.0 On-Link 192.168.1.3 281
255.255.255.255 255.255.255.255 255.255.255.255 255.255.255.255 255.255.255.255 255.255.255.255 255.255.255.255
255.255.255.255
255.255.255.255 255.255.255.255 192.168.1.3 281
================================================= =========================
Permanent routes:
10.214.2.128 255.255.255.128 192.168.3.1
192.168.0.0 255.255.255.0 192.168.3.1
Reverse route not working from the server to the client
If you do a trace from the client, for example, to the node 10.214.2.129, then it reaches the gateway and that's it.
Back to the node 192.168.1.5 packets do not even get to the gateway.
Tell me how to set everything up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-04-24
@maxpointn2point

I think the problem is in OpenVPN
Look in the settings. Most likely your traffic does not go through the tunnel but directly. As a result, it is cut by the provider.
Further, no one writes static routes manually on the VPN network. Since it just doesn't work,
OpenVPN manages all routes by itself
Turn the config for an example of parameters:
route
and
push
One adds a route, the second sends data to the client.
I think if you enter the parameter in the server config:

push "route 192.168.3.0 255.255.255.0"
route 192.168.1.0 255.255.255.0

and in the description of the client:
everything should work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question