You can try config changes discribed bellow. 

Jaro


[EMAIL PROTECTED] wrote on 12.01.2005 11:18:53:

> VPN server menu configuration
> 
> Type ->  tls-server
> Device Type -> tap
> Local Name -> servervpn
> Certificate Name -> servervpn
> Local VPN Point -> 192.168.2.1
> Port -> 1194
> Ping Restart -> 30
> Remote IP -> --

Remote IP -> 255.255.255.0

> CA Name -> ca
> Remote VPN Point â> --
> Remote Subnet/Netmask -> 192.168.2.0/255.255.255.0

Remote Subnet/Netmask -> ---

> 
> This configuration create this tls-servervpn.conf file
> 
> dev tap
> ifconfig 192.168.2.1 ---
> up /etc/openvpn/servervpn.up
> tls-server
> dh /etc/openvpn/dh2048.pem
> ca /etc/openvpn/ca.crt
> cert /etc/openvpn/servervpn.crt
> key /etc/openvpn/servervpn.key
> port 1194
> verb 3
> 
> and this servervpn.up file
> 
> route add ânet 192.168.2.0 netmask 255.255.255.0 gw $5
> 
> This is the error of openvpn start
> 
> Wed Jan 12 11:12:35 2005 0[0]: OpenVPN 1.6.0 i586-mandrake-linux-gnu
> [SSL] [LZO] [PTHREAD] built on Jun  8 2004
> Wed Jan 12 11:12:35 2005 1[0]: Diffie-Hellman initialized with 2048 bit 
key
> Wed Jan 12 11:12:35 2005 2[0]: Control Channel MTU parms [ L:1573 D:
> 138 EF:38 EB:0 ET:0 EL:0 ]
> Wed Jan 12 11:12:35 2005 3[0]: RESOLVE: Cannot parse IP address: ---
> Wed Jan 12 11:12:35 2005 4[0]: Exiting
> 
-----------------------------------------------------------------------------------------------------------
> 
> So I modify the ifconfig line :
> ifconfig 192.168.2.1 255.255.255.0
> 
> an restart openvpn 
> openvpn --config tls-servervpn.conf
> 
> 
> This is the error
> 
> Wed Jan 12 11:15:21 2005 0[0]: OpenVPN 1.6.0 i586-mandrake-linux-gnu
> [SSL] [LZO] [PTHREAD] built on Jun  8 2004
> Wed Jan 12 11:15:21 2005 1[0]: Diffie-Hellman initialized with 2048 bit 
key
> Wed Jan 12 11:15:21 2005 2[0]: Control Channel MTU parms [ L:1573 D:
> 138 EF:38 EB:0 ET:0 EL:0 ]
> Wed Jan 12 11:15:21 2005 3[0]: TUN/TAP device tap0 opened
> Wed Jan 12 11:15:21 2005 4[0]: /sbin/ifconfig tap0 192.168.2.1 
> netmask 255.255.255.0 mtu 1500 broadcast 192.168.2.255
> Wed Jan 12 11:15:21 2005 5[0]: /etc/openvpn/servervpn.up tap0 1500 
> 1573 192.168.2.1 255.255.255.0 init
> SIOCADDRT: Network is unreachable
> Wed Jan 12 11:15:21 2005 6[0]: script failed: shell command exited 
> with error status: 7
> Wed Jan 12 11:15:21 2005 7[0]: Exiting
> 
> Whatâs the problem ?
> 
> Thanks.
> Vito Sarcina
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to