+ Responder ao Tópico



  1. É lógico que é a primeira vez que faço uma VPN se ve pela burrice minha de não saber qual arquivo configurar e como configurar.
    Instalei o openvpn e agora não sei como configurar e qual arquivo configurar...alguem ai poderia me ajudar.
    Segue onde eu parei.

    [root@araxa /]# cd /etc/openvpn-2.0.9
    [root@araxa openvpn-2.0.9]# ll
    total 2736
    -rw-r--r-- 1 root root 12881 Nov 24 2005 acinclude.m4
    -rw-r--r-- 1 root root 35060 Out 1 2006 aclocal.m4
    -rw-r--r-- 1 root root 28 Nov 1 2005 AUTHORS
    -rw-r--r-- 1 root root 3729 Dez 12 2005 base64.c
    -rw-r--r-- 1 root root 1843 Dez 12 2005 base64.h
    -rw-r--r-- 1 root root 1374 Nov 1 2005 basic.h
    -rw-r--r-- 1 root root 15012 Nov 1 2005 buffer.c
    -rw-r--r-- 1 root root 16665 Nov 1 2005 buffer.h
    -rw-r--r-- 1 root root 91748 Out 1 2006 ChangeLog
    -rw-r--r-- 1 root root 2284 Nov 1 2005 circ_list.h
    -rw-r--r-- 1 root root 2238 Abr 12 2006 common.h
    -rwxr-xr-x 1 root root 43728 Out 1 2006 config.guess
    -rw-r--r-- 1 root root 13037 Out 1 2006 config.h.in
    -rw-r--r-- 1 root root 100404 Jan 19 10:58 config.log
    -rwxr-xr-x 1 root root 31043 Out 1 2006 config.sub
    -rwxr-xr-x 1 root root 352696 Out 1 2006 configure
    -rw-r--r-- 1 root root 18185 Out 1 2006 configure.ac
    -rw-r--r-- 1 root root 8455 Out 1 2006 config-win32.h
    -rw-r--r-- 1 root root 8459 Nov 1 2005 config-win32.h.in
    drwxrwxrwx 4 root root 4096 Out 1 2006 contrib
    -rw-r--r-- 1 root root 9330 Nov 1 2005 COPYING
    -rw-r--r-- 1 root root 17943 Nov 1 2005 COPYRIGHT.GPL
    -rw-r--r-- 1 root root 15923 Nov 1 2005 cryptoapi.c
    -rw-r--r-- 1 root root 155 Nov 1 2005 cryptoapi.h
    -rw-r--r-- 1 root root 45155 Nov 1 2005 crypto.c
    -rw-r--r-- 1 root root 10072 Nov 1 2005 crypto.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 debug
    -rwxr-xr-x 1 root root 14841 Out 1 2006 depcomp
    -rwxr-xr-x 1 root root 526 Nov 1 2005 doclean
    drwxrwxrwx 4 root root 4096 Out 1 2006 easy-rsa
    -rw-r--r-- 1 root root 10085 Nov 1 2005 errlevel.h
    -rw-r--r-- 1 root root 19660 Nov 1 2005 error.c
    -rw-r--r-- 1 root root 9497 Nov 1 2005 error.h
    -rw-r--r-- 1 root root 23942 Nov 1 2005 event.c
    -rw-r--r-- 1 root root 3694 Nov 1 2005 event.h
    -rw-r--r-- 1 root root 1790 Nov 1 2005 fdmisc.c
    -rw-r--r-- 1 root root 1138 Nov 1 2005 fdmisc.h
    -rw-r--r-- 1 root root 34710 Dez 13 2005 forward.c
    -rw-r--r-- 1 root root 2844 Nov 1 2005 forward.h
    -rw-r--r-- 1 root root 6802 Nov 1 2005 forward-inline.h
    -rw-r--r-- 1 root root 11892 Nov 1 2005 fragment.c
    -rw-r--r-- 1 root root 6144 Nov 1 2005 fragment.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 gentoo
    -rw-r--r-- 1 root root 5180 Nov 1 2005 gremlin.c
    -rw-r--r-- 1 root root 2508 Nov 1 2005 gremlin.h
    -rw-r--r-- 1 root root 11105 Dez 12 2005 helper.c
    -rw-r--r-- 1 root root 1318 Nov 1 2005 helper.h
    -rw-r--r-- 1 root root 67729 Abr 5 2006 init.c
    -rw-r--r-- 1 root root 3717 Nov 1 2005 init.h
    -rw-r--r-- 1 root root 10450 Dez 29 2005 INSTALL
    -rwxr-xr-x 1 root root 9208 Out 1 2006 install-sh
    drwxrwxrwx 2 root root 4096 Out 1 2006 install-win32
    -rw-r--r-- 1 root root 83 Nov 1 2005 INSTALL-win32.txt
    -rw-r--r-- 1 root root 2511 Nov 1 2005 integer.h
    -rw-r--r-- 1 root root 2165 Nov 1 2005 interval.c
    -rw-r--r-- 1 root root 5638 Nov 1 2005 interval.h
    -rw-r--r-- 1 root root 15524 Nov 1 2005 list.c
    -rw-r--r-- 1 root root 5541 Nov 1 2005 list.h
    -rw-r--r-- 1 root root 6775 Nov 24 2005 lzo.c
    -rw-r--r-- 1 root root 3546 Nov 1 2005 lzo.h
    -rw-r--r-- 1 root root 3108 Nov 2 2005 Makefile.am
    -rw-r--r-- 1 root root 31255 Out 1 2006 Makefile.in
    -rwxr-xr-x 1 root root 3870 Set 12 2006 makefile.w32
    -rw-r--r-- 1 root root 3256 Nov 1 2005 makefile.w32-vc
    -rw-r--r-- 1 root root 50849 Dez 13 2005 manage.c
    -rw-r--r-- 1 root root 9462 Dez 13 2005 manage.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 management
    -rw-r--r-- 1 root root 4232 Nov 1 2005 mbuf.c
    -rw-r--r-- 1 root root 2706 Nov 1 2005 mbuf.h
    -rw-r--r-- 1 root root 1235 Nov 1 2005 memcmp.c
    -rw-r--r-- 1 root root 3495 Nov 1 2005 memdbg.h
    -rw-r--r-- 1 root root 29270 Nov 5 2005 misc.c
    -rw-r--r-- 1 root root 7349 Nov 5 2005 misc.h
    -rwxr-xr-x 1 root root 10678 Out 1 2006 missing
    -rw-r--r-- 1 root root 8702 Nov 1 2005 mroute.c
    -rw-r--r-- 1 root root 4968 Nov 1 2005 mroute.h
    -rw-r--r-- 1 root root 3439 Nov 1 2005 mss.c
    -rw-r--r-- 1 root root 1273 Nov 1 2005 mss.h
    -rw-r--r-- 1 root root 18729 Nov 1 2005 mtcp.c
    -rw-r--r-- 1 root root 2081 Nov 1 2005 mtcp.h
    -rw-r--r-- 1 root root 7528 Nov 1 2005 mtu.c
    -rw-r--r-- 1 root root 8406 Nov 1 2005 mtu.h
    -rw-r--r-- 1 root root 7117 Nov 1 2005 mudp.c
    -rw-r--r-- 1 root root 1363 Nov 1 2005 mudp.h
    -rw-r--r-- 1 root root 56817 Nov 5 2005 multi.c
    -rw-r--r-- 1 root root 11932 Nov 1 2005 multi.h
    -rw-r--r-- 1 root root 0 Nov 1 2005 NEWS
    -rw-r--r-- 1 root root 5205 Dez 12 2005 ntlm.c
    -rw-r--r-- 1 root root 240 Nov 1 2005 ntlm.h
    -rw-r--r-- 1 root root 11003 Nov 5 2005 occ.c
    -rw-r--r-- 1 root root 2817 Nov 1 2005 occ.h
    -rw-r--r-- 1 root root 2368 Nov 1 2005 occ-inline.h
    -rw-r--r-- 1 root root 156435 Nov 2 2005 openvpn.8
    -rw-r--r-- 1 root root 5615 Dez 13 2005 openvpn.c
    -rw-r--r-- 1 root root 13106 Dez 13 2005 openvpn.h
    -rw-r--r-- 1 root root 7078 Nov 1 2005 openvpn-plugin.h
    -rw-r--r-- 1 root root 6296 Out 1 2006 openvpn.spec
    -rw-r--r-- 1 root root 6302 Nov 1 2005 openvpn.spec.in
    -rw-r--r-- 1 root root 130966 Dez 12 2005 options.c
    -rw-r--r-- 1 root root 14104 Nov 1 2005 options.h
    -rw-r--r-- 1 root root 4807 Nov 1 2005 otime.c
    -rw-r--r-- 1 root root 5285 Nov 1 2005 otime.h
    -rw-r--r-- 1 root root 12565 Nov 1 2005 packet_id.c
    -rw-r--r-- 1 root root 8867 Nov 1 2005 packet_id.h
    -rw-r--r-- 1 root root 6224 Nov 1 2005 perf.c
    -rw-r--r-- 1 root root 2507 Nov 1 2005 perf.h
    -rw-r--r-- 1 root root 2876 Nov 1 2005 ping.c
    -rw-r--r-- 1 root root 1526 Nov 1 2005 ping.h
    -rw-r--r-- 1 root root 1962 Nov 1 2005 ping-inline.h
    drwxrwxrwx 5 root root 4096 Out 1 2006 plugin
    -rw-r--r-- 1 root root 10628 Nov 1 2005 plugin.c
    -rw-r--r-- 1 root root 2825 Nov 1 2005 plugin.h
    -rw-r--r-- 1 root root 12044 Dez 12 2005 pool.c
    -rw-r--r-- 1 root root 2763 Dez 12 2005 pool.h
    -rw-r--r-- 1 root root 3847 Nov 1 2005 PORTS
    -rw-r--r-- 1 root root 2169 Nov 1 2005 proto.c
    -rw-r--r-- 1 root root 4684 Nov 1 2005 proto.h
    -rw-r--r-- 1 root root 12829 Dez 12 2005 proxy.c
    -rw-r--r-- 1 root root 2255 Nov 1 2005 proxy.h
    -rw-r--r-- 1 root root 8195 Nov 1 2005 push.c
    -rw-r--r-- 1 root root 2047 Nov 1 2005 push.h
    -rw-r--r-- 1 root root 2019 Nov 1 2005 README
    -rw-r--r-- 1 root root 17006 Nov 1 2005 reliable.c
    -rw-r--r-- 1 root root 5375 Nov 1 2005 reliable.h
    -rw-r--r-- 1 root root 43694 Abr 5 2006 route.c
    -rw-r--r-- 1 root root 4289 Nov 1 2005 route.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 sample-config-files
    drwxrwxrwx 2 root root 4096 Out 1 2006 sample-keys
    drwxrwxrwx 2 root root 4096 Out 1 2006 sample-scripts
    -rw-r--r-- 1 root root 13261 Nov 1 2005 schedule.c
    -rw-r--r-- 1 root root 4235 Nov 1 2005 schedule.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 service-win32
    -rw-r--r-- 1 root root 2016 Nov 1 2005 session_id.c
    -rw-r--r-- 1 root root 2500 Nov 1 2005 session_id.h
    -rw-r--r-- 1 root root 2408 Nov 1 2005 shaper.c
    -rw-r--r-- 1 root root 4290 Nov 1 2005 shaper.h
    -rw-r--r-- 1 root root 8171 Nov 1 2005 sig.c
    -rw-r--r-- 1 root root 2549 Nov 1 2005 sig.h
    -rw-r--r-- 1 root root 53540 Nov 4 2005 socket.c
    -rw-r--r-- 1 root root 19033 Nov 1 2005 socket.h
    -rw-r--r-- 1 root root 9754 Nov 1 2005 socks.c
    -rw-r--r-- 1 root root 2267 Nov 1 2005 socks.h
    -rw-r--r-- 1 root root 106291 Dez 13 2005 ssl.c
    -rw-r--r-- 1 root root 23407 Dez 13 2005 ssl.h
    -rw-r--r-- 1 root root 6761 Nov 1 2005 status.c
    -rw-r--r-- 1 root root 2647 Nov 1 2005 status.h
    drwxrwxrwx 2 root root 4096 Out 1 2006 suse
    -rw-r--r-- 1 root root 7994 Abr 12 2006 syshead.h
    drwxrwxrwx 4 root root 4096 Out 1 2006 tap-win32
    -rwxr-xr-x 1 root root 2078 Abr 5 2006 t_cltsrv.sh
    -rw-r--r-- 1 root root 4034 Nov 1 2005 thread.c
    -rw-r--r-- 1 root root 4754 Nov 1 2005 thread.h
    -rwxr-xr-x 1 root root 1092 Nov 4 2005 t_lpback.sh
    -rw-r--r-- 1 root root 87189 Abr 5 2006 tun.c
    -rw-r--r-- 1 root root 9741 Nov 1 2005 tun.h
    -rwxr-xr-x 1 root root 17855 Nov 1 2005 win32.c
    -rwxr-xr-x 1 root root 6612 Nov 1 2005 win32.h





  2. 1 - Necessário gerar os certificados utilizando o openssl
    2 - Exportar de forma segura os certificados e chaves para a ponta filial
    3 - Configurar os arquivos geralmente localizados em /etc/openvpn
    4 - Iniciar as duas pontas (claro, primeiro inicie a matriz)

    Os links que nosso amigo acima disponibilizou, ajudam e muito no processo resumido que coloquei.

    Até







Tópicos Similares

  1. Respostas: 20
    Último Post: 06-06-2010, 06:38
  2. Respostas: 3
    Último Post: 25-12-2007, 18:02
  3. nao encontro os uploads que eu faço no vsftpd
    Por Dedao no fórum Servidores de Rede
    Respostas: 2
    Último Post: 24-01-2007, 08:33
  4. Socorro, minha AP parou.Oq eu faço agora?
    Por andrevanzato no fórum Redes
    Respostas: 4
    Último Post: 09-08-2006, 18:58
  5. disco quase cheio...o que eu faço?
    Por kzone no fórum Servidores de Rede
    Respostas: 6
    Último Post: 04-02-2005, 11:51

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L