[FUG-BR] VTUND HELP

Juliano Oliveira jorhardware em gmail.com
Quarta Fevereiro 18 11:48:52 BRT 2009


Pessoal minha VPN nao ta pode me ajudar.
fica assim no ps -ax

11173  ??  Ss     0:00.07 vtund: cliente1 connecting to XXX.X.XXX.XXX
(vtund)

veja a configuracao.

configuracao server:

options {
        port 59008;
        syslog        daemon;
        timeout 60;
        ppp /usr/sbin/pppd;
        ifconfig /sbin/ifconfig;
        route /sbin/route;
        firewall /sbin/ipfw;
        }
default {
        compress lzo:9;
        persist yes;
        speed 0;
        }
cliente1 {
        passwd senhaxxx;
        type tun;
        device tun112;
        proto tcp;
        compress lzo:9;
        encrypt yes;
#        keep-alive yes;
up      {
        ifconfig "%% 10.39.244.1 10.39.244.2 netmask 255.255.255.252";
        route "add -net 10.39.60.0/24 -netmask 255.255.255.0 10.39.244.2";
        };
down    {
        route "delete -net 10.39.60.0/16";
        ifconfig "%% down";
        };
        }

###################################
Cliente

options {
        port 59008;
        syslog        daemon;
        timeout 60;
        ppp /usr/sbin/pppd;
        ifconfig /sbin/ifconfig;
        route /sbin/route;
        firewall /sbin/ipfw;
        }
default {
        compress lzo:9;
        persist yes;
        speed 0;
        }
cliente1 {
        passwd senhaxxx;
        type tun;
        device tun112;
        proto udp;
        compress lzo:9;
        encrypt yes;
#       keep-alive yes;
up      {
        ifconfig "%% 10.39.244.2 10.39.244.1 netmask 255.255.255.252";
        route "add -net 10.39.11.0/24 -netmask 255.255.255.0 10.39.244.1";
        route "add -net 10.91.11.0/16 -netmask 255.255.0.0 10.39.244.1";
        route "add -net 10.31.11.0/16 -netmask 255.255.0.0 10.39.244.1";
        route "add -net 10.39.244.0/24 -netmask 255.255.255.0 10.39.244.1";
        };
down    {
        route "delete -net 10.39.11.0/24";
        route "delete -net 10.91.11.0/16";
        route "delete -net 10.31.11.0/16";
        route "delete -net 10.39.244.0/24";
        ifconfig "%% down";
        };
        }

-- 
Teste


Mais detalhes sobre a lista de discussão freebsd