Date: Fri, 30 Aug 2002 02:33:22 +0000 From: "Sam Feagins" <sfeagins@Bugdesign.com> To: freebsd-net@Freebsd.org Subject: mpd config help Message-ID: <20020829.nen.15207800@www.houstonbroncos.com>
next in thread | raw e-mail | index | archive | help
Hey everyone, I've searched high and low to find a answer to this problem. I've got to connect my BSD 4.5 box to a M$ PPTP server. This BSD box acts as a gateway for several machines so in essence when this BSD box connects to remote network, I would like to have the clients packets also forward over to the remote network. I chose mpd b/c it has dial on demand. I can get the box to connect with mpd and work just fine to the remote network, but the local client packets don't get forwarded over there. But here's the wierd thing, I can get pptp-client to connect, and the internal network can ping across to the remote network. So I assume that if pptp- client can work so can mpd? Here's my mpd.conf file. Local network is 192.168.10.x Remote network is 192.168.2.x and is DHCP'ng 192.168.2.241-245 for pptp connections 192.168.2.240 is remote pptp server vpn: new -i ng1 vpn vpn set iface disable on-demand set iface idle 0 set iface route 192.168.2.0/24 set bundle disable multilink set bundle authname "<myUserName>" set bundle password "<myPassword>" set link yes acfcomp protocomp set link no pap set link allow 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 0.0.0.0/0 192.168.2.240/0 # set ipcp ranges 192.168.10.1/32 192.168.10.3/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 Thanks for anything, Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020829.nen.15207800>