Hi friends, I need help.
I''ve PPTP Server running behind Shorewall. The PPTP server is working
OK in my
LAN, but I want to connect outside and It isn''t working.
I''ve configurate shorewall like http://www.shorewall.net/PPTP.htm.
I add only this lines in my rules
DNAT net loc:165.182.15.15 tcp 1723 - IPext
DNAT net loc:165.182.15.15 47 - - IPext
It isn''t working.
the log is :
Apr 13 19:28:32 FWONP pptpd[3118]: MGR: Launching /usr/sbin/pptpctrl to handle
client
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: local address = 10.200.10.2
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: remote address = 10.200.10.101
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: pppd speed = 115200
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: pppd options file
= /etc/ppp/options.vpn
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Client 208.241.143.107 control
connection started
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Received PPTP Control Message (type: 1)
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Made a START CTRL CONN RPLY packet
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: I wrote 156 bytes to the client.
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Sent packet to client
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Received PPTP Control Message (type: 7)
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Made a OUT CALL RPLY packet
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Starting call (launching pppd, opening
GRE)
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: pty_fd = 5
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: tty_fd = 6
Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): Connection speed =
115200
Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): local address =
10.200.10.2
Apr 13 19:28:32 FWONP pptpd[3119]: CTRL (PPPD Launcher): remote address =
10.200.10.101
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: I wrote 32 bytes to the client.
Apr 13 19:28:32 FWONP pptpd[3118]: CTRL: Sent packet to client
Apr 13 19:28:32 FWONP pppd[3119]: pppd 2.4.1 started by root, uid 0
Apr 13 19:28:32 FWONP pppd[3119]: using channel 15
Apr 13 19:28:33 FWONP pppd[3119]: Using interface ppp0
Apr 13 19:28:33 FWONP pppd[3119]: Connect: ppp0 <--> /dev/pts/2
Apr 13 19:28:33 FWONP pppd[3119]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth
chap 81> <magic 0xb86eca6e> <pcomp> <accomp>]
Apr 13 19:28:33 FWONP pptpd[3118]: CTRL: Received PPTP Control Message (type:
15)
Apr 13 19:28:33 FWONP pptpd[3118]: CTRL: Got a SET LINK INFO packet with
standard ACCMs
Apr 13 19:28:35 FWONP pppd[3119]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth
chap 81> <magic 0xb86eca6e> <pcomp> <accomp>]
Apr 13 19:29:07 FWONP last message repeated 16 times
Apr 13 19:29:09 FWONP pppd[3119]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth
chap 81> <magic 0xb86eca6e> <pcomp> <accomp>]
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Received PPTP Control Message (type:
12)
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Made a CALL DISCONNECT RPLY packet
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Received CALL CLR request (closing
call)
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: I wrote 148 bytes to the client.
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Sent packet to client
Apr 13 19:29:10 FWONP pppd[3119]: Modem hangup
Apr 13 19:29:10 FWONP pppd[3119]: Connection terminated.
Apr 13 19:29:10 FWONP pppd[3119]: Exit.
Apr 13 19:29:10 FWONP pptpd[3118]: GRE: read error: Bad file descriptor
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: PTY read or GRE write failed
(pty,gre)(-1,-1)
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Client 208.241.143.107 control
connection finished
Apr 13 19:29:10 FWONP pptpd[3118]: CTRL: Exiting now
Apr 13 19:29:10 FWONP pptpd[1996]: MGR: Reaped child 3118
Thanks
Vladimir
---------------------------------------------------------------
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
---------------------------------------------------------------