Skip to contentSkip to conversation

for help!

Openvpn-devel zh l 1 participant 1 message Mar 9, 2006

lore
Share & tools
lore

zh l

author
#0 lore raw

hi,
we meet some problems when we develop an VPN. please help me!
The OS is windows 2000 server
when the openvpn client connect to the server , we have to wait the client to build the tap device for 8s. the config file at the client is following
temp.conf:
dev tap
route-method exe
route-delay 3
tls-client

proto udp
rport 5000
lport 5500

remote 10.0.1.238
ifconfig 10.100.100.16 255.255.255.0

pkcs12 "C:/Documents and Settings/Administrator/桌面/test.key"

pull
ns-cert-type server

persist-key
persist-tun

comp-lzo

keepalive 10 30

route-gateway 10.100.100.1

another problem is:

The router at the client is following:
Interface List
0x1 ........................... MS TCP Loopback interface 0x1000003 ...00 0a eb 8f 05 aa ...... NDIS 5.0 driver 0x1000004 ...00 ff af ab 19 7a ...... TAP-Win32 Adapter V8
======================================================================
======================================================================
Active Routes:

  Network Destination        Netmask          Gateway       Interface  Metric
            0.0.0.0          0.0.0.0       10.0.1.163       10.0.1.66       1
           10.0.1.0    255.255.255.0        10.0.1.66       10.0.1.66       1
          10.0.1.66  255.255.255.255        127.0.0.1       127.0.0.1       1
       10.100.100.0    255.255.255.0    10.100.100.16   10.100.100.16       1
      10.100.100.16  255.255.255.255        127.0.0.1       127.0.0.1       1
     10.255.255.255  255.255.255.255        10.0.1.66       10.0.1.66       1
     10.255.255.255  255.255.255.255    10.100.100.16   10.100.100.16       1
          127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
        192.168.1.0    255.255.255.0     10.100.100.1   10.100.100.16       1
          224.0.0.0        224.0.0.0        10.0.1.66       10.0.1.66       1
          224.0.0.0        224.0.0.0    10.100.100.16   10.100.100.16       1
    255.255.255.255  255.255.255.255        10.0.1.66       10.0.1.66       1

Default Gateway: 10.0.1.163
======================================================================

we bulit another route:
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.1.0 255.255.255.0 10.100.100.1 1
so, we can success to ping the openvpn server IP: 10.0.1.238 but, this route has been lost sometimes. we don't know why it happened.
we cann't resolve it.

---------------------------------
雅虎1G免费邮箱百分百防垃圾信