Openvpn



  • estoy intentado conectar 2 oficinas por open vpn en el servidor me da los siguentes log de coneccion en el servidor al parecer se estan conectando entre ellos pero no tengo trafico entre las interfaces lan

    Jun 11 17:34:09 openvpn[95191]: LZO compression initialized
    Jun 11 17:34:09 openvpn[95191]: TCP/UDP: Preserving recently used remote address: xxxxxx.xxxxx.xxxxxx.xxxxxxx:61067
    Jun 11 17:34:09 openvpn[95191]: Preserving previous TUN/TAP instance: tun0
    Jun 11 17:34:09 openvpn[95191]: Listening for incoming TCP connection on [undef]:1194
    Jun 11 17:35:36 openvpn[95191]: TCP connection established with xxxxx.xxxxx.xxxxxx.xxx:61638
    Jun 11 17:35:36 openvpn[95191]: TCPv4_SERVER link local (bound): [undef]:1194
    Jun 11 17:35:36 openvpn[95191]: TCPv4_SERVER link remote: xxxx.xxxx.xxxx.xxx:61638
    Jun 11 17:35:36 openvpn[95191]: Peer Connection Initiated with xxxxx.xxxxxxxxx.xxxxxxx:61638
    Jun 11 17:35:37 openvpn[95191]: Initialization Sequence Completed
    Jun 11 17:36:36 openvpn[95191]: Inactivity timeout (–ping-restart), restarting
    Jun 11 17:36:36 openvpn[95191]: SIGUSR1[soft,ping-restart] received, process restarting
    Jun 11 17:36:37 openvpn[95191]: Re-using pre-shared static key
    Jun 11 17:36:37 openvpn[95191]: LZO compression initialized
    Jun 11 17:36:37 openvpn[95191]: TCP/UDP: Preserving recently used remote address: xxxxx.xxxxx.xxxx.xxxxxx:61638
    Jun 11 17:36:37 openvpn[95191]: Preserving previous TUN/TAP instance: tun0
    Jun 11 17:36:37 openvpn[95191]: Listening for incoming TCP connection on [undef]:1194
    Jun 11 17:36:41 openvpn[95191]: TCP connection established with xxxxx.xxxxxx.xxxxx.xxxx:61641
    Jun 11 17:36:41 openvpn[95191]: TCPv4_SERVER link local (bound): [undef]:1194
    Jun 11 17:36:41 openvpn[95191]: TCPv4_SERVER link remote: xxxx.xxxxx.xxxx.xxxx:61641
    Jun 11 17:36:41 openvpn[95191]: Peer Connection Initiated with xxxx.xxxxx.xxxxxx.xxxx:61641
    Jun 11 17:36:42 openvpn[95191]: Initialization Sequence Completed
    Jun 11 17:36:51 openvpn[95191]: WARNING: 'ifconfig' is used inconsistently, local='ifconfig 192.168.4.1 192.168.4.2', remote='ifconfig 192.168.70.1 192.168.70.2'

    y en el cliente

    openvpn[295]: OpenVPN 2.0.6 i386-portbld-freebsd6.2 [SSL] [LZO] built on Sep 13 2007
    Dec 30 22:05:48 openvpn[295]: WARNING: file '/var/etc/openvpn_client0.secret' is group or others accessible
    Dec 30 22:05:48 openvpn[295]: LZO compression initialized
    Dec 30 22:05:48 openvpn[295]: gw 192.168.0.4
    Dec 30 22:05:48 openvpn[295]: TUN/TAP device /dev/tun0 opened
    Dec 30 22:05:48 openvpn[295]: /sbin/ifconfig tun0 192.168.70.2 192.168.70.1 mtu 1500 netmask 255.255.255.255 up
    Dec 30 22:05:48 openvpn[295]: /etc/rc.filter_configure tun0 1500 1547 192.168.70.2 192.168.70.1 init
    Dec 30 22:05:49 openvpn[295]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1
    Dec 30 22:05:49 openvpn[304]: Attempting to establish TCP connection with xxxx.xxxxxxx.xxxxxx.xxx:1194
    Dec 30 22:05:49 openvpn[304]: TCP connection established with xxx.xxxx.xxx.xxx:1194
    Dec 30 22:05:49 openvpn[304]: TCPv4_CLIENT link local: [undef]
    Dec 30 22:05:49 openvpn[304]: TCPv4_CLIENT link remote: xxx.xxxx.xxxx.xxxx:1194
    Dec 30 22:05:49 openvpn[304]: Peer Connection Initiated with xxxx.xxx.xxx.xxx:1194
    Dec 30 22:05:51 openvpn[304]: Initialization Sequence Completed
    Dec 30 22:06:49 openvpn[304]: Inactivity timeout (–ping-restart), restarting
    Dec 30 22:06:49 openvpn[304]: SIGUSR1[soft,ping-restart] received, process restarting
    Dec 30 22:06:54 openvpn[304]: Re-using pre-shared static key
    Dec 30 22:06:54 openvpn[304]: LZO compression initialized
    Dec 30 22:06:54 openvpn[304]: Preserving previous TUN/TAP instance: tun0
    Dec 30 22:06:54 openvpn[304]: Attempting to establish TCP connection with xxx.xxxxx.xxxxx.xxx:1194
    Dec 30 22:06:54 openvpn[304]: TCP connection established with xxxx.xxxxx.xxxxx.xxxxx:1194
    Dec 30 22:06:54 openvpn[304]: TCPv4_CLIENT link local: [undef]
    Dec 30 22:06:54 openvpn[304]: TCPv4_CLIENT link remote: xxxx.xxxxxx.xxxxx.xxx:1194
    Dec 30 22:06:55 openvpn[304]: Peer Connection Initiated with xxxx.xxxxx.xxxx.xxxx:1194
    Dec 30 22:06:55 openvpn[304]: Initialization Sequence Completed
    Dec 30 22:07:04 openvpn[304]: WARNING: 'ifconfig' is used inconsistently, local='ifconfig 192.168.70.2 192.168.70.1', remote='ifconfig 192.168.4.2 192.168.4.1'


Log in to reply