LINUX.ORG.RU
ФорумAdmin

pptpd есть коннект, но для клиента доступны только ip pptpd сервера


0

0

Описываю ситуацию

Есть firewall с iptables, за ним в локальной сети есть pptpd сервер. Снаружи я подключаюсь к нему без проблем, но!!! акромя локальных ip pptpd сервера и локального ip компа я пинговать ничего не могу. firewall для LAN шлюзом не является. Клиент pptp получает ip из диапазона локальной сети. Файрволл на pptpd сервере не запущен. С такими же настройками pptpd сервера всё работает на другом компе, коннекчусь и в LANе как родной.

Но здесь я в LAN не попадаю!

В чем может быть трабл? Почему ppp0 не заворачивает в lAN? С рутингом всё в поряде.

В логах после коннекта

Apr 2 12:31:36 pptpd_server pptpd[5659]: MGR: Launching /usr/sbin/pptpctrl to handle client

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: local address = 192.168.0.1

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: remote address = 192.168.0.4

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: pppd speed = 115200

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Client 192.168.166.100 control connection started

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Received PPTP Control Message (type: 1)

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Made a START CTRL CONN RPLY packet

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: I wrote 156 bytes to the client.

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Sent packet to client

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Received PPTP Control Message (type: 7)

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Set parameters to 100000000 maxbps, 64 window size

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Made a OUT CALL RPLY packet

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Starting call (launching pppd, opening GRE)

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: pty_fd = 6

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: tty_fd = 7

Apr 2 12:31:36 pptpd_server pptpd[5660]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd

Apr 2 12:31:36 pptpd_server pptpd[5660]: CTRL (PPPD Launcher): local address = 192.168.0.1

Apr 2 12:31:36 pptpd_server pptpd[5660]: CTRL (PPPD Launcher): remote address = 192.168.0.4

Apr 2 12:31:36 pptpd_server pppd[5660]: pppd 2.4.5 started by root, uid 0

Apr 2 12:31:36 pptpd_server pppd[5660]: using channel 8

Apr 2 12:31:36 pptpd_server pppd[5660]: Using interface ppp0

Apr 2 12:31:36 pptpd_server pppd[5660]: Connect: ppp0 <--> /dev/pts/0

Apr 2 12:31:36 pptpd_server pppd[5660]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9a5175cb> <pcomp> <accomp>]

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: I wrote 32 bytes to the client.

Apr 2 12:31:36 pptpd_server pptpd[5659]: CTRL: Sent packet to client

Apr 2 12:31:37 pptpd_server pptpd[5659]: CTRL: Received PPTP Control Message (type: 15)

Apr 2 12:31:37 pptpd_server pptpd[5659]: CTRL: Got a SET LINK INFO packet with standard ACCMs

Apr 2 12:31:37 pptpd_server pptpd[5659]: GRE: accepting packet #0

Apr 2 12:31:37 pptpd_server pppd[5660]: rcvd [LCP ConfReq id=0x0 <mru 1400> <magic 0x93b395a> <pcomp> <accomp> <callback CBCP>]

Apr 2 12:31:37 pptpd_server pppd[5660]: sent [LCP ConfRej id=0x0 <callback CBCP>]

Apr 2 12:31:37 pptpd_server pptpd[5659]: GRE: accepting packet #1

Apr 2 12:31:37 pptpd_server pppd[5660]: rcvd [LCP ConfReq id=0x1 <mru 1400> <magic 0x93b395a> <pcomp> <accomp>]

Apr 2 12:31:37 pptpd_server pppd[5660]: sent [LCP ConfAck id=0x1 <mru 1400> <magic 0x93b395a> <pcomp> <accomp>]

Apr 2 12:31:38 pptpd_server pppd[5660]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9a5175cb> <pcomp> <accomp>]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #2

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9a5175cb> <pcomp> <accomp>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [LCP EchoReq id=0x0 magic=0x9a5175cb]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.0.1>]

Apr 2 12:31:39 pptpd_server pptpd[5659]: CTRL: Received PPTP Control Message (type: 15)

Apr 2 12:31:39 pptpd_server pptpd[5659]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #3

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #4

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [LCP Ident id=0x2 magic=0x93b395a «MSRASV5.10»]

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [LCP Ident id=0x3 magic=0x93b395a «MSRAS-0-E99459D08090450»]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #5

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #6

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [CCP ConfReq id=0x4 <mppe +H -M -S -L -D +C>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [CCP ConfRej id=0x4 <mppe +H -M -S -L -D +C>]

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns2 0.0.0.0> <ms-wins 0.0.0.0>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [IPCP ConfRej id=0x5 <ms-wins 0.0.0.0> <ms-wins 0.0.0.0>]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #7

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [LCP EchoRep id=0x0 magic=0x93b395a]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #8

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [CCP ConfReq id=0x2]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #9

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #10

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [IPCP ConfReq id=0x2 <addr 192.168.0.1>]

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [CCP TermReq id=0x6 09 3b 39 5a 00 3c cd 74 00 00 02 dc]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [CCP TermAck id=0x6]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #11

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [IPCP ConfNak id=0x7 <addr 192.168.0.4> <ms-dns1 192.168.0.29> <ms-dns2 192.168.1.29>]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #12

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.0.1>]

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #13

Apr 2 12:31:39 pptpd_server pppd[5660]: rcvd [IPCP ConfReq id=0x8 <addr 192.168.0.4> <ms-dns1 192.168.0.29> <ms-dns2 192.168.1.29>]

Apr 2 12:31:39 pptpd_server pppd[5660]: sent [IPCP ConfAck id=0x8 <addr 192.168.0.4> <ms-dns1 192.168.0.29> <ms-dns2 192.168.1.29>]

Apr 2 12:31:39 pptpd_server pppd[5660]: local IP address 192.168.0.1

Apr 2 12:31:39 pptpd_server pppd[5660]: remote IP address 192.168.0.4

Apr 2 12:31:39 pptpd_server pppd[5660]: Script /etc/ppp/ip-up started (pid 5661)

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #14

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #15

Apr 2 12:31:39 pptpd_server pppd[5660]: Script /etc/ppp/ip-up finished (pid 5661), status = 0x0

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #16

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #17

Apr 2 12:31:39 pptpd_server pptpd[5659]: GRE: accepting packet #18

Apr 2 12:31:40 pptpd_server pptpd[5659]: GRE: accepting packet #19

Apr 2 12:31:40 pptpd_server pptpd[5659]: GRE: accepting packet #20

Apr 2 12:31:40 pptpd_server pptpd[5659]: GRE: accepting packet #21

Apr 2 12:31:41 pptpd_server pptpd[5659]: GRE: accepting packet #22

Apr 2 12:31:41 pptpd_server pptpd[5659]: GRE: accepting packet #23

Apr 2 12:31:41 pptpd_server pptpd[5659]: GRE: accepting packet #24

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #25

Apr 2 12:31:42 pptpd_server pppd[5660]: sent [CCP ConfReq id=0x2]

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #26

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #27

Apr 2 12:31:42 pptpd_server pppd[5660]: rcvd [CCP TermAck id=0x2]

Apr 2 12:31:42 pptpd_server pppd[5660]: sent [CCP TermReq id=0x3"No compression negotiated"]

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #28

Apr 2 12:31:42 pptpd_server pppd[5660]: rcvd [CCP TermAck id=0x3"No compression negotiated"]

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #29

Apr 2 12:31:42 pptpd_server pptpd[5659]: GRE: accepting packet #30

Apr 2 12:31:43 pptpd_server pptpd[5659]: GRE: accepting packet #31

Apr 2 12:31:43 pptpd_server pptpd[5659]: GRE: accepting packet #32

Apr 2 12:31:43 pptpd_server pptpd[5659]: GRE: accepting packet #33

Apr 2 12:31:43 pptpd_server pptpd[5659]: GRE: accepting packet #34

Apr 2 12:31:43 pptpd_server pptpd[5659]: GRE: accepting packet #35

Apr 2 12:31:44 pptpd_server pptpd[5659]: GRE: accepting packet #36

Apr 2 12:31:44 pptpd_server pptpd[5659]: GRE: accepting packet #37

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #38

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #39

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #40

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #41

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #42

Apr 2 12:31:45 pptpd_server pptpd[5659]: GRE: accepting packet #43

Apr 2 12:31:46 pptpd_server pptpd[5659]: GRE: accepting packet #44

Apr 2 12:31:46 pptpd_server pptpd[5659]: GRE: accepting packet #45

Apr 2 12:31:46 pptpd_server pptpd[5659]: GRE: accepting packet #46

Apr 2 12:31:46 pptpd_server pptpd[5659]: GRE: accepting packet #47

Apr 2 12:31:47 pptpd_server pptpd[5659]: GRE: accepting packet #48

Apr 2 12:31:47 pptpd_server pptpd[5659]: GRE: accepting packet #49

Apr 2 12:31:47 pptpd_server pptpd[5659]: GRE: accepting packet #50

Apr 2 12:31:48 pptpd_server pptpd[5659]: GRE: accepting packet #51

Apr 2 12:31:48 pptpd_server pptpd[5659]: GRE: accepting packet #52

Apr 2 12:31:48 pptpd_server pptpd[5659]: GRE: accepting packet #53

Apr 2 12:31:49 pptpd_server pptpd[5659]: GRE: accepting packet #54

Apr 2 12:31:49 pptpd_server pptpd[5659]: GRE: accepting packet #55

Apr 2 12:31:49 pptpd_server pptpd[5659]: GRE: accepting packet #56

Apr 2 12:31:51 pptpd_server pptpd[5659]: GRE: accepting packet #57

Apr 2 12:31:52 pptpd_server pptpd[5659]: GRE: accepting packet #58

GRE: accepting packet #58 - появляется при пингах с клиента



Последнее исправление: FOG (всего исправлений: 3)

Ответ на: комментарий от anonymous

На то компе где работает, там помогло

# cat /proc/sys/net/ipv4/ip_forward

1

На этом же никакой реакции

FOG
() автор топика
Ответ на: комментарий от FOG

тогда иди в yast... хрен его знает что они там наприкручивали... но если прикрутили то галка должна быть

anonymous
()
Ответ на: комментарий от FOG

Пофиксил, короче сам протупил по полной ))

Изначально всё дело было в

# cat /proc/sys/net/ipv4/ip_forward

1

А вот правильно конфиг настроить уже внимательности не осталось

Перекинл конфиг с Debiana всё заработало )

Спасибо за помощь!

FOG
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.