Hi,
I'm trying to implement a way for remote users to gain access to a local
office's windows shares. What I currently have is a FreeBSD box with
mpd-netgraph installed, dc0 is connected to the isp via a static ip, ne0 is
connected to the local net.
+----------+
+---------------------+
| | dc0 -> 1.2.3.4 5.6.7.8 |
|
| FreeBSD |-------------------> internet <--------------| Win 98, NT via
pptp |
| | |
|
|----------+
+---------------------+
|
| ne0 -> 192.168.1.90
|
+---------------------------------------- ... etc
| |
| 192.168.1.101 | 192.168.1.102
| |
+------+ +------+
| NT 1 | | NT 2 |
+------+ +------+
mpd.conf
--------
default:
load pptp
pptp:
new -i ng0 pptp pptp
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp ranges 192.168.1.90/32 192.168.1.95/32
set ipcp dns 3.4.5.6 (my isp's dns)
set ipcp nbns 192.168.1.90
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
mpd.links
---------
pptp:
set link type pptp
set pptp self 1.2.3.4
set pptp enable incoming
set pptp disable originate
When I connect with pptp I end up with ng0 being created and the following
two commands are executed by mpd:
/sbin/ifconfig ng0 192.168.1.90 192.168.1.95 netmask 0xffffffff -link0
/usr/sbin/arp -s 192.168.1.95 00:11:22:33:44:55 pub (changed my
mac addr)
My understanding is this makes the FreeBSD machine have an ip of
192.168.1.90 on ng0 and the traffic from the remote windows machine will be
192.168.1.95 on ng0. From the remote machine I can ping 192.168.1.95 as
well as 192.168.1.90 but not any of the other machines. Also, I do not have
a route from 192.168.1.95 out to the isp via 1.2.3.4.
Any input as to what I'm doing incorrectly? I sense I'm close but am
missing a key piece of information to put it all together. Most likely I
just don't have any routing information or something like that.
Thanks for your input,
Dan Anderson
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message