<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: smartsu <smartsu,AT,vip,DOT,sina,DOT,com>
Subject: Re: cipe-l
From: Damion Wilson <dwilson,AT,ibl,DOT,bm>
Date: Wed, 1 Oct 2003 11:03:31 -0300
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <20031001082310.29848.qmail@vip.sina.com.cn>
References: <20031001082310.29848.qmail@vip.sina.com.cn>

You need to change the peer port to something other than zero. The tunnel is 
bidirectional, with the local port describing which port for the local tunnel 
end to listen to for incoming packets.

DKW

On Wednesday 01 October 2003 05:23 am, you wrote:
> Hello
> Can you help me?
> I have a linux server(redhat 7.2+cipe-1.4.5-6(rpm)) on internet ip is
> 211.a.b.c ,and a win2000 client (CIPE-Win32-2.0-pre15) in my home touch
> internet through ADSL . I want to connect to my linux server through cipe.
>
> my options is below:
>
> win2000 (CipePanel)
> local ip address 0.0.0.0   port 0
> peer  ip address 211.a.b.c port 6789
> local ptp address 172.16.1.2
> peer  ptp address 172.16.1.1
> status (Enabled)
> static key 3248fd20adf9c00ccf9ecc2393bbb3e4
> cipher BLOWFISH
> timeout 6000
>
> linux /etc/options
> # Surprise, this file allows comments (but only on a line by themselves)
> # This is probably the minimal set of options that has to be set
> # Without a "device" line, the device is picked dynamically
> # the peer's IP address
> ptpaddr 172.16.1.2
> # our CIPE device's IP address
> ipaddr  172.16.1.1
> # my UDP address. Note: if you set port 0 here, the system will pick
> # one and tell it to you via the ip-up script. Same holds for IP 0.0.0.0.
> me              211.a.b.c:6789
> # ...and the UDP address we connect to. Of course no wildcards here.
> peer  0.0.0.0
> # The static key. Keep this file secret!
> # The key is 128 bits in hexadecimal notation
> key            3248fd20adf9c00ccf9ecc2393bbb3e4
>
> and /etc/options.cipcb0 is same as /etc/options
>
> then I start ciped-cb on linux server
> and add a iptables rule
> iptables -I INPUT 1 -p udp -j ACCEPT
> [root@abc /]ifconfig -a
> cipcb0    Link encap:IPIP Tunnel  HWaddr
>           inet addr:172.16.1.1  P-t-P:172.16.1.2  Mask:255.255.255.255
>           UP POINTOPOINT NOTRAILERS RUNNING NOARP  MTU:1442  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:1320 (1.2 Kb)
> ...
> but I cann't ping win2000 from linux
> [root@abc /]# ping 172.16.1.2
> PING 172.16.1.2 (172.16.1.2) from 172.16.1.1 : 56(84) bytes of data.
>
> --- 172.16.1.2 ping statistics ---
> 4 packets transmitted, 0 packets received, 100% packet loss
>
> can you help me
>
>                                    smartsu,AT,vip,DOT,sina,DOT,com
> ______________________________________
>
> ===================================================================


<< | Thread Index | >> ]    [ << | Date Index | >> ]