routing issue of mpd
gahn
ipfreak at yahoo.com
Tue Jan 31 00:00:28 PST 2006
Hi:
I got mpd working and logined into pptp server through
internet. From my pc, I can ping internal interface of
the pptp server, 192.168.128.1 (my pc address is
192.168.128.10). the problem is that I can't ping
anything beyond that, such as 192.168.128.2 (it
actually is an interface of a router, on the same
subnet).
>From cmd of windows, with command "ipconfig":
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . :
254.254.254.100
Subnet Mask . . . . . . . . . . . :
255.255.255.0
Default Gateway . . . . . . . . . :
254.254.254.1
PPP adapter test:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . :
192.168.128.10
Subnet Mask . . . . . . . . . . . :
255.255.255.255
Default Gateway . . . . . . . . . :
So how could I change the length of the masking of the
ppp adapter?
once I can change the length of the masking bits, then
I can route my traffic into the rfc1918 networks that
behind of the vpn server.
the manual page of:
http://www.bretterklieber.com/mpd/doc3/mpd22.html
don't seem to be matter though.
here is the mpd.conf:
default:
load pptp0
pptp0:
new -i ng0 pptp0 pptp0
set ipcp ranges 192.168.128.1/21
192.168.128.10/21
load common
common:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set bundle disable multilink
set bundle enable compression
set bundle yes crypt-reqd
set link no pap chap
set link enable chap-msv2
set link keep-alive 10 60
set link enable acfcomp protocomp
set ipcp yes vjcomp
set ipcp dns 192.168.64.96
set ccp yes mppc
set ccp yes mpp-e128
BTW, mpd4 seems to be not very stable; I switched back
to 3.18 and it works fine.
TIA
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the freebsd-questions
mailing list