<?xml version="1.0" encoding="ISO-8859-1"?><!-- generator="FeedCreator 1.7.2-ppt (info@mypapit.net)" --><rdf:RDF    xmlns="http://purl.org/rss/1.0/"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"    xmlns:dc="http://purl.org/dc/elements/1.1/">    <channel rdf:about="http://peloenpecho.blogcindario.com/rss10.xml">        <title>Blog a pelo en pecho</title>        <description>Blog de pelo en pecho, programación php, cobol, perl, velazquez, postgres, mysql, oracle, shell-script, c++, linux, y mucho mas</description>        <link>http://peloenpecho.blogcindario.com/</link>       <dc:date>2008-05-21T18:12:25+01:00</dc:date>        <items>            <rdf:Seq>                <rdf:li rdf:resource="http://peloenpecho.blogcindario.com/2008/05/00004-instalando-kde4-en-suse-10-3.html"/>                <rdf:li rdf:resource="http://peloenpecho.blogcindario.com/2008/05/00003-armando-una-vpn-cliente-servidor-con-linux.html"/>                <rdf:li rdf:resource="http://peloenpecho.blogcindario.com/2008/05/00002-macros-excel.html"/>                <rdf:li rdf:resource="http://peloenpecho.blogcindario.com/2008/05/00001-pasando-de-archivos-cobol-a-postgressql.html"/>            </rdf:Seq>        </items>    </channel>    <item rdf:about="http://peloenpecho.blogcindario.com/2008/05/00004-instalando-kde4-en-suse-10-3.html">        <dc:format>text/html</dc:format>        <dc:date>2008-05-21T14:12:24+01:00</dc:date>        <dc:creator>vans2020</dc:creator>        <title>Instalando KDE4 en SUSE 10.3</title>        <link>http://peloenpecho.blogcindario.com/2008/05/00004-instalando-kde4-en-suse-10-3.html</link>        <description>Instalar KDE 4 CON UN SOLO CLICK&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &lt;a href=&quot;http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Extra-Apps/openSUSE_10.3/KDE4-DEFAULT.ymp&quot; title=&quot;KDE4 EN SUSE 10.3&quot;&gt;&lt;img alt=&quot;KDE4&quot; height=&quot;40&quot; src=&quot;http://files.opensuse.org/opensuse/en/d/dd/Kde4-ymp.png&quot; style=&quot;vertical-align: middle;&quot; width=&quot;160&quot; /&gt;&lt;/a&gt;</description>    </item>    <item rdf:about="http://peloenpecho.blogcindario.com/2008/05/00003-armando-una-vpn-cliente-servidor-con-linux.html">        <dc:format>text/html</dc:format>        <dc:date>2008-05-20T17:29:06+01:00</dc:date>        <dc:creator>vans2020</dc:creator>        <title>Armando una VPN (Cliente - Servidor) con Linux</title>        <link>http://peloenpecho.blogcindario.com/2008/05/00003-armando-una-vpn-cliente-servidor-con-linux.html</link>        <description>&lt;meta content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;title&gt;&lt;/title&gt;&lt;meta content=&quot;OpenOffice.org 2.3  (Unix)&quot; name=&quot;GENERATOR&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;	&amp;amp;amp;lt;!--		@page { size: 21cm 29.7cm; margin: 2cm }		P { margin-bottom: 0.21cm }	--&amp;amp;amp;gt;	&lt;/style&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;img alt=&quot;Vpn con Linux&quot; height=&quot;92&quot; src=&quot;http://peloenpecho.blogcindario.com/ficheros/vpn/pinguino-linux.gif&quot; style=&quot;float: left;&quot; width=&quot;92&quot; /&gt;A continuaci&amp;oacute;n explicare paso apaso la configuraci&amp;oacute;n (Cliente-Servidor), utilizada para una conexi&amp;oacute;n VPN (Central &amp;ndash; Local) por ejemplo.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Para la misma disponemos de 2 PC's, unoen cada extremo.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En el extremo (Central) el mismo PC(servidor VPN de ahora en mas), dispone de un enlace ADSL 2 Mbps, conIP Fija (203.40.169.22).&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Este mismo act&amp;uacute;a como servidorVPN ya que su Ip es siempre la misma.&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;Ejemplo de la Topolog&amp;iacute;a usada&lt;/h3&gt;&lt;p style=&quot;margin-bottom: 0cm; text-align: center;&quot;&gt;&lt;img alt=&quot;Topoligia&quot; height=&quot;194&quot; src=&quot;http://peloenpecho.blogcindario.com/ficheros/vpn/vpnFinalEN.png&quot; style=&quot;vertical-align: baseline;&quot; width=&quot;335&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En el extremo de (Cliente) disponemosde otro PC el cual act&amp;uacute;a como cliente de esta VPN. Este mismodispone de un enlace ADSL de 1536Kbps con IP variable cada x horas,esta misma conexi&amp;oacute;n requiere de autentificaci&amp;oacute;n contrael ISP, usuario: pepe@adsl contrase&amp;ntilde;a: pepe123&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;El servidor VPN cuenta con un sistemaoperativo OPENSUSE 10.3 (con OPENVPN).&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;El mismo tiene 2 tarj, de red, una estadirecto al m&amp;oacute;dem ADSL, y tiene su interface configurada con IPPublica. Conf:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP: 203.40.16.22&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MASK:255.255.255.252&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GW: 203.40.16.21&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Su otra interface de red esta conectadaa nuestra red local (LAN):&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP: 192.168.10.5&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MASK: 255.255.255.0&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;	&lt;meta content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;title&gt;&lt;/title&gt;&lt;meta content=&quot;OpenOffice.org 2.3  (Unix)&quot; name=&quot;GENERATOR&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;	&amp;amp;amp;lt;!--		@page { size: 21cm 29.7cm; margin: 2cm }		P { margin-bottom: 0.21cm }	--&amp;amp;amp;gt;	&lt;/style&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Con esta configuraci&amp;oacute;n, elServidor VPN ya deber&amp;iacute;a tener navegaci&amp;oacute;n sobreInternet. De no ser as&amp;iacute; verificar conectividad, m&amp;oacute;demADSL, y configuraci&amp;oacute;n.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Luego que el Servidor VPN cuenta conInternet, verificamos que tambi&amp;eacute;n funcione su interface Local(Lan).&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;strong&gt;Ahora configuremos el servicio VPN:&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Tener instalado el paquete OPENVPN(viene que SUSE en sus repositorios). Realizar el siguiente comando(el mismo genera una clave encriptada, la cual sirve para encriptarlos datos que viajaran por la VPN)&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;	&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; openvpn --genkey --secretsecret.key&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Este archivo debe quedar en eldirectorio /etc/openvpn&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Luego creamos un archivo con VI en el/etc/openvpn &amp;ndash; llamado server.conf&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;	&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vi /etc/openvpn/server.conf&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;	&lt;meta content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;title&gt;&lt;/title&gt;&lt;meta content=&quot;OpenOffice.org 2.3  (Unix)&quot; name=&quot;GENERATOR&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;	&amp;amp;amp;lt;!--		@page { size: 21cm 29.7cm; margin: 2cm }		P { margin-bottom: 0.21cm }	--&amp;amp;amp;gt;	&lt;/style&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm; page-break-before: always;&quot;&gt;El mismodebe contener:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;      &lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # dispositivo de t&amp;uacute;nel&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;dev tun&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# ip del server ip del cliente(ip's del t&amp;uacute;nel)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;ifconfig 10.0.2.1 10.0.2.2&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# Clave del servidor&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;secret /etc/openvpn/server.key&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# puerto&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;port 1194&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;#usuario bajo el cualejecutaremos&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;user nobody&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;group nobody&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# opciones, comprimir con lzo,ping cada 15 segs, verbose 1 (log's bajos)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;comp-lzo&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;ping 15&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;verb 1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt; Luego de esto ya podemos levantar elservicio VPN:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;/etc/init.d/openvpn start&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;El mismo servicio debe levantar sinproblemas, de lo contrario revisar el archivo de configuraci&amp;oacute;n&amp;ldquo;server.conf&amp;rdquo; y verificar.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En este punto ya tenemos nuestroservidor VPN configurado y pronto para recibir peticiones de clientesVPN.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;strong&gt;Ahora veamos la configuraci&amp;oacute;nen el Cliente.&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Tenemos un PC (Cliente de la VPN), elmismo tiene instalado un sistema operativo OPENSUSE 10.2 (conOPENVPN), este Pc cuenta al igual que el servidor VPN con 2interfaces de Red. una para la &amp;ldquo;WAN o internet&amp;rdquo; y la otraconectada a la Red Local (LAN) con la IP: 192.0.2.50&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Como en el extremo del cliente contamoscon un enlace ADSL el cual varia su Ip, instalamos un Router (LINKSYSpor ejemplo) el cual se encarga de autenticar el ADSL contra el ISP yestablecer conectividad a Internet. Por que un router y no el ADSLdirecto al PC, por varias razones, una, luego de pasadas 12 horas elPC no se da cuenta que se quedo &amp;ldquo;sin conectividad&amp;rdquo; y demora muchomas que un router en volver a re conectar&amp;rdquo;. Si pasa algo con el PCCliente VPN, podemos&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;llegar hasta el router y del mismopoder mas r&amp;aacute;pido sacar concluci&amp;oacute;n si el problema estapropiamente en el PC Cliente o en el enlace ADSL.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm; page-break-before: always;&quot;&gt;Para empezardebemos copiar el Archivo secret.key que generamos en el ServidorVPN, copiarlo en el directorio /etc/openvpn .&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Luego de esto debemos crear el archivoclient.conf con la siguiente configuraci&amp;oacute;n:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;      &lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # dispositivo de t&amp;uacute;nel&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;dev tun&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# ip del servidor VPN&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;remote 203.40.16.22&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# ip del cliente ip delservidor (ip's del t&amp;uacute;nel)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;ifconfig 10.0.2.2 10.0.2.1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# Clave del servidor&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;secret /etc/openvpn/server.key&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# puerto&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;port 1194&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;#usuario bajo el cualejecutaremos&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;user nobody&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;group nobody&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;# opciones, comprimir con lzo,ping cada 15 segs, verbose 1 (log's bajos)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;comp-lzo&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;ping 15&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;verb 1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En este punto ya podemos levantar elservicio VPN&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;/etc/init.d/openvpn start&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Aqu&amp;iacute; hacemos las siguientespruebas:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;IFCONFIG Para saber si el dispositivoTUN fue creado.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En servidor:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tun0     Link encap:UNSPEC HWaddr00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;       &lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet addr:10.0.2.1P-t-P:10.0.2.2 Mask:255.255.255.255&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;UP POINTOPOINT RUNNING NOARPMULTICAST MTU:1500 Metric:1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;RX packets:92862 errors:0dropped:0 overruns:0 frame:0&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;TX packets:77482 errors:0dropped:0 overruns:0 carrier:0&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;collisions:0 txqueuelen:100&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;RX bytes:5997505 (5.7 Mb) TXbytes:22554682 (21.5 Mb)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;En Cliente:&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tun0     Link encap:UNSPEC HWaddr00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;inet addr:10.0.2.2P-t-P:10.0.2.1 Mask:255.255.255.255&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;UP POINTOPOINT RUNNING NOARPMULTICAST MTU:1500 Metric:1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;RX packets:92862 errors:0dropped:0 overruns:0 frame:0&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;TX packets:77482 errors:0dropped:0 overruns:0 carrier:0&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;collisions:0 txqueuelen:100&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;RX bytes:5997505 (5.7 Mb) TXbytes:22554682 (21.5 Mb)&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;***Si esto no aparece, reiniciar elservicio OPENVPN&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm; page-break-before: always;&quot;&gt;Probamos laconectividad del T&amp;uacute;nel&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Hacemos Ping desde el Servidor VPN a laIP : 10.0.2.2 y Ping desde el Cliente VPN a la IP: 10.0.2.1&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Si esto funciona ya tenemos la VPNFuncionando!, si no funciona verificar configuraciones. y reiniciaren ambos PC'S el servicio OPENVPN.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Ahora solo nos queda configurar lasrutas entre ambos PC's de la VPN para que todo lo que esta en la REDdel cliente llege bien a la RED en Central, y viceversa.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Para esto en el Servidor VPN hacemos:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #route add -net 192.0.2.0 netmask255.255.255.0 gw 10.0.0.2&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Y en el Cliente VPN hacemos:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #route add -net 192.168.10.0 netmask255.255.255.0 gw 10.0.0.1&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;En los PCS del local definimos comoDefault Gateway la IP: 192.0.2.50&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Con esto ya podemos hacer Ping desde elServidor VPN a los PC's del extremo cliente y estos deben responder.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;Si se cuenta con servidor Firewall depor medio se debra abrir los siguiente puertos&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #----VPN----&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p udp --dport 1194-j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A OUTPUT -p udp --source-port1194 -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -i tun+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A OUTPUT -o tun+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A FORWARD -i tun+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -i tap+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A OUTPUT -o tap+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A FORWARD -i tap+ -j ACCEPT&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0cm;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>    </item>    <item rdf:about="http://peloenpecho.blogcindario.com/2008/05/00002-macros-excel.html">        <dc:format>text/html</dc:format>        <dc:date>2008-05-20T11:16:56+01:00</dc:date>        <dc:creator>DiegoSuarez</dc:creator>        <title>Macros Excel</title>        <link>http://peloenpecho.blogcindario.com/2008/05/00002-macros-excel.html</link>        <description>Sabias que puedes agilizar tus tareas en excel?&lt;br /&gt;Pelo en pecho te da la solucion&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;proximamente...</description>    </item>    <item rdf:about="http://peloenpecho.blogcindario.com/2008/05/00001-pasando-de-archivos-cobol-a-postgressql.html">        <dc:format>text/html</dc:format>        <dc:date>2008-05-20T00:49:17+01:00</dc:date>        <dc:creator>vans2020</dc:creator>        <title>Pasando de archivos cobol a PostgresSQL</title>        <link>http://peloenpecho.blogcindario.com/2008/05/00001-pasando-de-archivos-cobol-a-postgressql.html</link>        <description>Te has preguntado como pasar tus archivos cobol a base de datos de una manera rapida y sencilla?&lt;br /&gt;Pelo en pecho te da la solucion...&lt;br /&gt;&lt;br /&gt;Las pruebas las hemos hecho sobre Acucobol GT, corriendo en un servidor Linux, pero la idea general es la misma para cualquier versi&amp;oacute;n de Cobol.&lt;br /&gt;&lt;br /&gt;Primero les dire que la versi&amp;oacute;n de PostgresSQL que usamos no es la tipica que viene con cualquier ditribuci&amp;oacute;n Linux, si no que es una versi&amp;oacute;n un poco mejorada (tiene funciones del motor Oracle), las cuales usaremos para pasar los archivos a la base de datos de una manera rapida.&lt;br /&gt;&lt;br /&gt;PostgresPlus lo pueden descargar de &lt;a href=&quot;http://www.enterprisedb.com/&quot; title=&quot;PostgresPlus&quot; target=&quot;_blank&quot;&gt;http://www.enterprisedb.com/&lt;/a&gt; , es libre y gratuita.&lt;br /&gt;&lt;br /&gt;Despues de instalado el PostgresPlus, lo que debemos hacer es un shell-script que generara un codigo fuente cobol, para luego correrlo y secuencializar el archivo de datos.&amp;nbsp; Secuenzializar llamo a pasar el archivo de datos a texto plano.&lt;br /&gt;&lt;br /&gt;Nuestro script tiene que ser capas de interpretar la XFD, FD Y SL del archivo de datos, ya que de estos archivos sacaremos la informaci&amp;oacute;n para crear la tabla en la base de datos con sus atributos correspondientes. Ademas necesitamos estos archivos para analizar el archivo sencuenzializado y subirlo a la base de datos.&lt;br /&gt;&lt;br /&gt;Un ejemplo del Shell-Script lo pueden descargar &lt;a href=&quot;http://peloenpecho.blogcindario.com/ficheros/cobol2bd/cobol2bd.sh&quot; title=&quot;Cobol2Bd&quot; target=&quot;_blank&quot;&gt;Aqui.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Basicamente es un script al que se llama desde linea de comandos, y se le pasa como parametros la ubicaci&amp;oacute;n de los archivo XFD, FD, SL y el largo total del registro principal &quot;record&quot;, ademas tambien tiene 2 modalidades.&amp;nbsp; -info (donde muestra la informaci&amp;oacute;n de la tabla en la base de datos, si esta no existe la crea), y -seq (secuencializa y sube los datos a la tabla correspondiente).&lt;br /&gt;&lt;br /&gt;Este shell-script genera el codigo fuente, analizando los tipos de datos (PIC 9, PIC S9, PIC S9V2, COMP-1, COMP-3 y mas).&lt;br /&gt;Luego de secuencializado el archivo, este script genera un archivo de control donde indentifica cada atributo de la tabla, asociado a un numero de inicio y fin del caracter en la linea secuencializada.&lt;br /&gt;&lt;br /&gt;Con este archivo de control y el archivo secuencial, llamamos a una funci&amp;oacute;n de PostgresPlus (edbldr) equivalente en Oracle al (sql-ldr). Este mismo sube el archivo secuencial a la base de datos. por las pruebas realizadas sobre un PC core2duo con 4gb RAM, corriendo SUSE ENTERPRISE 10, llegamos a subir unos 70.000 registros por segundo a base de datos.&lt;br /&gt;&lt;br /&gt;Si tienes alguna duda, o quieres implemetar esta opci&amp;oacute;n para tu entorno no dudes en dejar tu comentario y de esta manera nos pondremos a la brevedad en contacto para poder ayudarte.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>    </item></rdf:RDF>