Páginas

sexta-feira, 10 de setembro de 2010

VTUND

options {
port 51003;
timeout 60;
ppp /usr/sbin/pppd;
ifconfig /sbin/ifconfig;
route /sbin/route;
firewall /sbin/ipfw;
}
default {
compress lzo:9;
persist yes;
speed 0;
}
cga {
passwd senha;
type tun;
device tun18;
proto tcp;
compress lzo:9;
encrypt yes;
keep-alive yes;

up {
ifconfig "%% 10.100.245.1 10.100.245.2 netmask 255.255.255.252";
route "add -net 10.100.112.0/24 -netmask 255.255.255.0
10.100.245.2";
};

down {
route "delete -net 10.142.100.0/24";
ifconfig "%% down";
};
}

Nenhum comentário:

Postar um comentário