|
|
Hi i have start to configure a new serveur Linux with OpenVPN for connect my Windows Users .. On the server, this is the openvpn-server.conf: ================================================= dev tap0 proto tcp-server port 1042 server-bridge 10.206.1.252 255.255.255.0 10.206.1.50 10.206.1.51 tls-server dh /etc/ssl/dh1024.pem ca /etc/ssl/cacert.pem cert /etc/openvpn/openvpn-server.cert key /etc/openvpn/openvpn-server-key.pem #comp-lzo keepalive 10 30 client-to-client max-clients 150 user openvpn group openvpn persist-key persist-tun ================================================= My Linux have Internet on Eth0 and the lan on Eth2 My server are the ip 10.206.1.252 in eth2 and 10.206.1.251 in eth2:0 When i start OpenVPN, i have into the syslog: [root@gw openvpn]# /etc/init.d/openvpn start Starting openvpn: [ OK ] [root@gw openvpn]# Sep 1 15:39:01 gw openvpn[21362]: OpenVPN 2.0 i586-mandriva-linux-gnu [SSL] [LZO] [EPOLL] built on Jun 22 2005 Sep 1 15:39:01 gw openvpn[21362]: TUN/TAP device tap0 opened Sep 1 15:39:01 gw openvpn[21364]: GID set to openvpn Sep 1 15:39:01 gw openvpn[21364]: UID set to openvpn Sep 1 15:39:01 gw openvpn[21364]: Listening for incoming TCP connection on [undef]:1042 Sep 1 15:39:01 gw openvpn[21364]: TCPv4_SERVER link local (bound): [undef]:1042 Sep 1 15:39:01 gw openvpn[21364]: TCPv4_SERVER link remote: [undef] Sep 1 15:39:01 gw openvpn[21364]: Initialization Sequence Completed Sep 1 15:39:01 gw openvpn: succeeded But first, i don't have into ifconfig a Tap0 interface . On my Windows clients, i have this conf file : proto tcp-client port 1042 dev tap remote <IP Internet of my Linux> tls-client ca D://Vpn//cacert.pem cert D://Vpn//client.cert key D://Vpn//client.key pull ping 20
=============================================== Sep 1 15:43:05 gw openvpn[21364]: TCP connection established with 83.113.23.158:1991 Sep 1 15:43:05 gw openvpn[21364]: TCPv4_SERVER link local: [undef] Sep 1 15:43:05 gw openvpn[21364]: TCPv4_SERVER link remote: 83.113.23.158:1991 Sep 1 15:43:08 gw openvpn[21364]: 83.113.23.158:1991 [Noc_PHIBEE] Peer Connection Initiated with 83.113.23.158:1991 =============================================== on my windows client, i have Initialization Sequence Completed now, on my windows i have a new interface with the ip 10.206.1.50 and a route print done: 10.206.1.0 255.255.255.0 10.206.1.50 10.206.1.50 1 10.206.1.50 255.255.255.255 127.0.0.1 127.0.0.1 1 10.255.255.255 255.255.255.255 10.206.1.50 10.206.1.50 1 my problems are on the linux machine i can't ping 10.206.1.50 and on the windows machine i can't ping 10.206.1.XX i have don't put the good configuration ? thanks for your help ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-09/msg00004.html on line 250 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-09/msg00004.html on line 250 |