Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: vpn and ipchains masquerade


  • Subject: lug-bg: vpn and ipchains masquerade
  • From: "Martin Kolev" <madmak@xxxxxxxxxxxxxx>
  • Date: Fri, 3 Jun 2005 13:47:36 +0300

Здравейте,

От доста време се опитвам да разреша един (предполагам елементарен) проблем
свързан с VPN и Ipchains.

Преди да напиша какъв точно е проблема искам да подчертая, че машината която
ползвам е много стара с Debian, Kernel 2.2.19 и няма никакъв проблем с VPN
връзките при ползване на реални адреси.

Въпросната машина се ползва като рутер с два интерфейса (единия с реален
адрес, а другия ползва служебен - "фалшив" такъв)

Ето и проблема:
немога да направя VPN връзка от компютър със служебен (фалишив)IP адрес,
който е маскиран на рутера с помощта на Ipchains (ipchans -I forward -i eth1
-s 192.168.0.3 -j MASQ).


Jun  1 23:45:31 pptpd[22881]: MGR: Manager process started
Jun  1 23:45:54 pptpd[22889]: MGR: Launching /usr/sbin/pptpctrl to handle
client
Jun  1 23:45:54 pptpd[22889]: CTRL: local address = 192.168.1.253
Jun  1 23:45:54 pptpd[22889]: CTRL: remote address = 192.168.1.1
Jun  1 23:45:54 pptpd[22889]: CTRL: pppd speed = 115200
Jun  1 23:45:54 pptpd[22889]: CTRL: pppd options file =
/etc/ppp/pptpd-options
Jun  1 23:45:54 pptpd[22889]: CTRL: Client 84.43.XXX.XXX control connection
started
Jun  1 23:45:54 pptpd[22889]: CTRL: Received PPTP Control Message (type: 1)
Jun  1 23:45:54 pptpd[22889]: CTRL: Made a START CTRL CONN RPLY packet
Jun  1 23:45:54 pptpd[22889]: CTRL: I wrote 156 bytes to the client.
Jun  1 23:45:54 pptpd[22889]: CTRL: Sent packet to client
Jun  1 23:45:54 pptpd[22889]: CTRL: Received PPTP Control Message (type: 7)
Jun  1 23:45:54 pptpd[22889]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Jun  1 23:45:54 pptpd[22889]: CTRL: Made a OUT CALL RPLY packet
Jun  1 23:45:54 pptpd[22889]: CTRL: Starting call (launching pppd, opening
GRE)
Jun  1 23:45:54 pptpd[22889]: CTRL: pty_fd = 5
Jun  1 23:45:54 pptpd[22889]: CTRL: tty_fd = 6
Jun  1 23:45:54 pptpd[22889]: CTRL: I wrote 32 bytes to the client.
Jun  1 23:45:54 pptpd[22890]: CTRL (PPPD Launcher): Connection speed =
115200
Jun  1 23:45:54 pptpd[22890]: CTRL (PPPD Launcher): local address =
192.168.1.253
Jun  1 23:45:54 pptpd[22890]: CTRL (PPPD Launcher): remote address =
192.168.1.1
Jun  1 23:45:54 pptpd[22889]: CTRL: Sent packet to client
Jun  1 23:45:54 pppd[22890]: pppd 2.4.1 started by root, uid 0
Jun  1 23:45:54 pppd[22890]: Using interface ppp1
Jun  1 23:45:54 pppd[22890]: Connect: ppp1 <--> /dev/pts/2
Jun  1 23:45:54 pptpd[22889]: CTRL: Received PPTP Control Message (type: 15)
Jun  1 23:45:54 pptpd[22889]: CTRL: Got a SET LINK INFO packet with standard
ACCMs
Jun  1 23:45:54 pptpd[22889]: Missing 12 consecutive packets; got 1728 after
4294967295
Jun  1 23:46:24 pptpd[22881]: MGR: Reaped child 22889
Jun  1 23:46:24 pptpd[22889]: Error reading from pppd: Input/output error
Jun  1 23:46:24 pptpd[22889]: CTRL: GRE read or PTY write failed
(gre,pty)=(6,5)
Jun  1 23:46:24 pptpd[22889]: CTRL: Client 84.43.XXX.XXX control connection
finished
Jun  1 23:46:24 pptpd[22889]: CTRL: Exiting now
Jun  1 23:46:24 pppd[22890]: LCP: timeout sending Config-Requests
Jun  1 23:46:24 pppd[22890]: Connection terminated.
Jun  1 23:46:24 pppd[22890]: Exit.




Предварително благодаря за вниманието.
Мартин Колев

 



============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.