[FUG-BR] Migrar poptop para FreeBSD 7.1

Ricardo Augusto de Souza ricardo.souza em cmtsp.com.br
Sexta Abril 3 11:13:19 BRT 2009


Estou precisando subir um servidor VPN em poptop no FreeBSD 7.1.

Rodando o poptop com  o /etc/ppp/ppp.conf original do Free estou obtendo o erro:

 

Mar 27 16:06:38 Trinity ppp[788]: Warning: Label /etc/ppp/ppp.conf rejected -direct connection: Configuration label not found

Mar 27 16:06:55 Trinity ppp[791]: Warning: Label /etc/ppp/ppp.conf rejected -direct connection: Configuration label not found

Mar 27 16:06:56 Trinity ppp[794]: Warning: Label /etc/ppp/ppp.conf rejected -direct connection: Configuration label not found

Mar 27 16:08:17 Trinity ppp[798]: Warning: Label /etc/ppp/ppp.conf rejected -direct connection: Configuration label not found

 

Atualmente estou testando este formato, que uso nos OpenBSD.

 

/etc/ppp/ppp.conf:

 

CMT:

 set authname trinity

 set authkey mypasswd

 set timeout 0

 set ifaddr 0 0

 add 172.16.0.4/24 HISADDR

 alias enable yes

 

 

loop:

 set timeout 0

 set log phase chat connect lcp ipcp command

 set device localhost:pptp

 set dial

 set login

# set mppe * stateful

 set ifaddr 172.16.0.1 172.16.0.2-172.16.0.10 255.255.255.0

 set server /var/tmp/loop "" 0177

 

 

loop-in:

 set timeout 0

 set log phase lcp ipcp command

 allow mode direct

 

 

pptp:

 load loop

# set timeout 0

# set speed 115200

# set log phase chat connect lcp ipcp command

# set dial

# set login

# enable mssfixup

# set ifaddr 10.10.100.253 10.10.9.5-10.10.9.20 255.255.255.0 255.255.255.255

# set ifaddr 172.16.0.1 172.16.0.2-172.16.0.20 255.255.255.0 255.255.255.0

 enable chap

 disable pap

# enable mschapv2

# disable deflate pred1

# deny deflate pred1

 disable ipv6

# accept mppe

 enable proxy

# accept dns

 #set dns 10.10.0.2 10.10.100.253

 set device !/etc/ppp/secure

 

Trinity# cat secure

#!/bin/sh

exec /usr/sbin/ppp  loop-in

 

Trinity# netstat -an | grep 1723

tcp4       0      0 200.143.33.136.1723    *.*                    LISTEN

Trinity#

 

 

Podem me ajudar.

 

Valeu

 

 



Mais detalhes sobre a lista de discussão freebsd