Date: Thu, 20 Dec 2001 09:47:49 -0500 From: "Blake Crosby" <dev@samurai.com> To: <freebsd-isp@freebsd.org> Subject: PPTP Behind NAT? Message-ID: <JAEEIJKIHAONENKPFCCPGENLCBAA.dev@samurai.com>
next in thread | raw e-mail | index | archive | help
I'm having trouble getting tcp/ip working once I connect to a machine using
PPTP. Here is my network setup.
pptp server (freebsd 4.4 - using mpd-netgraph)
|
|
Internet
|
|
Gateway, running ipnat (freebsd 4.3)
|
|
Windows XP Machine.
I can connect fine, except I can't really do much from that point on. The
server has the ip address 192.168.0.1 and the client has 192.168.0.2. When
I try to ping the clients ip address from the server I get this:
PING 192.168.0.2 (192.168.0.2): 56 data bytes
ping: sendto: Permission denied
ping: sendto: Permission denied
according to ifconfig, the tunnel seems to be up:
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 --> 192.168.0.2 netmask 0xffffffff
my mpd.conf file looks like:
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.0.1/32 192.168.0.2/30
set ipcp dns xxx.xxx.xxx.xxx <--- IP address of external interface
(yes a dns server is listening)
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
and mpd.links:
pptp:
set link type pptp
set pptp self xxx.xxx.xxx.xxx <-- External IP address
set pptp enable incoming
set pptp disable originate
any idea what could be wrong? Is this a nat problem?
Blake
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JAEEIJKIHAONENKPFCCPGENLCBAA.dev>
