[FUGSPBR] MPD/PPTP - client

Capriotti capriotti em fugspbr.org
Sex Out 4 08:55:59 BRT 2002


At 11:12 PM 10/3/2002, you wrote:
>preciso de um tutorial para configurar um MPD Free BSD client (ATENCAO, é 
>client!) E usando PPTP ao invés de IPSEC....
>
>
>Alguém conhece?

/usr/local/etc/mpd/mpd.conf.sample

#
# Mpd using PPTP for LAN to LAN VPN, always connected.
#
# Suppose you have a private Office LAN numbered 192.168.1.0/24 and another
# remote private Office LAN numbered 192.168.2.0/24, and you wanted to route
# between these two private networks using a PPTP VPN over the Internet.
#
# You run mpd on dual-homed machines on either end. Say the local machine
# has internal address 192.168.1.1 and externally visible address 1.2.3.4,
# and the remote machine has internal address 192.168.2.1 and externally
# visible address 2.3.4.5.
#
# See also the 'vpn' link entry in mpd.links.sample.
#

vpn:
         new -i ng1 vpn vpn
         set iface disable on-demand
         set iface addrs 192.168.1.1 192.168.2.1
         set iface idle 0
         set iface route 192.168.2.0/24
         set bundle disable multilink
         set bundle authname "VpnLogin"
         set bundle password "VpnPassword"
         set link yes acfcomp protocomp
         set link no pap
         set link yes chap
# If remote machine is NT you need this..
#       set link enable no-orig-auth
         set link keep-alive 10 75
         set ipcp yes vjcomp
         set ipcp ranges 192.168.1.1/32 192.168.2.1/32
#
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
#
         set bundle enable compression
         set ccp yes mppc
         set ccp yes mpp-e40
         set ccp yes mpp-e128
         set bundle enable crypt-reqd
         set ccp yes mpp-stateless
         open

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd