From owner-FreeBSD-net-jp@jp.FreeBSD.org Mon Jul 29 21:59:13 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g6TCxDa53270;
	Mon, 29 Jul 2002 21:59:13 +0900 (JST)
	(envelope-from owner-FreeBSD-net-jp@jp.FreeBSD.org)
Received: from pelsia.private.ensure-tech.co.jp (cl-server.ensure-tech.co.jp [211.18.249.19])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g6TCxCn53265
	for <FreeBSD-net-jp@jp.FreeBSD.org>; Mon, 29 Jul 2002 21:59:13 +0900 (JST)
	(envelope-from nork@netmove.co.jp)
Received: from pelsia.private.ensure-tech.co.jp (localhost [127.0.0.1])
	by pelsia.private.ensure-tech.co.jp (8.12.5/8.12.5) with ESMTP id g6TCxB8V055407
	for <FreeBSD-net-jp@jp.FreeBSD.org>; Mon, 29 Jul 2002 21:59:11 +0900 (JST)
	(envelope-from nork@netmove.co.jp)
Received: (from nork@localhost)
	by pelsia.private.ensure-tech.co.jp (8.12.5/8.12.5/Submit) id g6TCxBSZ055406;
	Mon, 29 Jul 2002 21:59:11 +0900 (JST)
	(envelope-from nork)
From: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
To: FreeBSD-net-jp@jp.FreeBSD.org
In-Reply-To: Your message of "Mon, 29 Jul 2002 18:57:00 +0900".
	<20020729095700.GC716%ginga-freebsd@ginganet.org>
X-Mailer: mnews [version 1.22PL5] 2001-02/07(Wed)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Date: Mon, 29 Jul 2002 21:59:11 +0900
Message-ID: <020729215911.M0155034@pelsia.netmove.co.jp>
Reply-To: FreeBSD-net-jp@jp.FreeBSD.org
Precedence: list
X-Sequence: FreeBSD-net-jp 3768
Subject: [FreeBSD-net-jp 3768] Re: vtund =?ISO-2022-JP?B?GyRCJEcbKEI=?=
 =?ISO-2022-JP?B?GyRCREw+byROGyhC?= IP address
	=?ISO-2022-JP?B?GyRCJEskaCRrQFxCMxsoQg==?=(unnumberedrouting?)
Errors-To: owner-FreeBSD-net-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-net-jp@jp.FreeBSD.org
X-Originator: nork@cityfujisawa.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020727

$B=EB<K!9n$G$9!#(B

2002/07/29 18:57 $B$K(BKawaguti Ginga$B$5$s$O=q$-$^$7$?(B.
>> vtun $B$K$h$k(B 2$BBf$N(B FreeBSD PC $B4V$N(B VPN $B$r(B
>> $BD%$m$&$H$7$F$$$k$N$G$9$,!$$I$&$b>!<j$,NI$/J,$+$j$^$;$s!%(B
>> (routing $B$H$+(B ifconfig $B$N;H$$J}$,NI$/J,$+$C$F$$$J$$$h$&$J5$$,(B)

	ifconfig $B$d(B route (routing) $B$O(B FreeBSD $B$N(B ifconfig(8) $B$d(B
	route(8) $B$r8F$s$G$k$@$1$G$9$h!A$C$F$N$OCV$$$F$*$/$H$7$F!#(B
	up , down $B$N(B ifconfig, route $B$^$o$j$N=q$-J}$,;d$K$O0c$C(B
	$B$F8+$($^$7$?$,(B, $B%^%K%e%"%k8+$k$H@5$7$=$&$G$9$M!#;dE*$K$O(B
	/etc/rc.conf $B$K5-=R$7$F$k$N$HF1$8$h$&$K@_Dj$7$F$_$k$H$$(B
	$B$&$N$OG!2?$G$7$g$&$+(B?

>> server# vtund -n -s
>> vtund[23126]: VTUN server ver 2.5 06/28/2002 (stand)		#$B5/F0;~(B
>> vtund[23127]: Session ariontest[192.168.0.77:1040] opened	# client $B@\B3(B
>> vtund[23127]: UDP connection initialized
>> vtund[23127]: BlowFish encryption initialized
>> route: writing to routing socket: File exists
>> add host 192.168.0.77: gateway tun0: File exists
>> vtund[23127]: Permission denied (13)		# $B$7$P$i$/(B(10$BICDxEY(B?)$B$7$F(B
>> vtund[23127]: Session ariontest closed		# $B$3$N(B2$B9T$,$G$k(B
>> $B%/%i%$%"%s%HB&$O(B 
>> client# vtund -n ariontest 192.168.0.72
>> vtund[281]: VTun client ver 2.5 06/30/2002 started
>> vtund[281]: Connecting to 192.168.0.72
>> vtund[281]: Session ariontest[192.168.0.72] opened
>> vtund[281]: UDP connection initialized
>> vtund[281]: BlowFish encryption initialized
>> route: writing to routing socket: File exists
>> add host 192.168.0.72: gateway tun0: File exists

	$B>u67$+$i$9$k$H(B, $B4{$KEPO?$5$l$F$$$k%k!<%F%#%s%0>pJs$r:FEY(B
	$B=q$-9~$b$&$H$7$F$k$h$&$K8+$($^$9!#%$%s%U%i$O%$%s%U%i$H$7(B
	$B$F(B(192.168.0.0/24), VPN $BMQ$N%M%C%H%o!<%/(B($BNc$($P(B 192.168.1.0/24)
	$B>e$G;E9~$s$G$_$k$H$I$&$J$j$^$9$G$7$g$&$+(B?

>> $B$G!$(Bserver $BB&$G(B permission denied $B$,$G$kA0$N;~$K(B
>> server# ifconfig tun0
>> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>>         inet6 fe80::210:4bff:fe2c:57b5%tun0 prefixlen 64 scopeid 0x8 
>>         inet 192.168.0.72 --> 192.168.0.77 netmask 0xffffffff 
>>         Opened by PID 23146

	ifconfig xl0 $B$N7k2L$H$"$o$;$F8+$F$/$@$5$$!#0cOB46$r46$8$?$i!D!#(B

>> $B$J$s$H$J$/!$(Btun device + vtun $B$J@\B3$O=PMh$F$$$k$1$l$I!$(B
>> ifconfig/route $B$N=q$-J}$G$&$^$/7R$,$i$J$$!$$h$&$J5$$b$7$^$9$7!$(B
>> $B$7$P$i$/$9$k$H(B tun $B$,>C$($F$7$^$&$N$G!$$=$l0JA0$N$h$&$J5$$b$7$^$9(B...

	$B;d$b$h$/$O$^$j$^$7$?$,(B, vtun $B$J%Q%1%C%H$rAw$k$N$K(B vtun $B7PM3!D(B
	$B$H$$$&@_Dj$K8+$($^$9!#(B
