nfs mount in openvpn tunnel

2006-05-01 Thread OS rider
Hi , my name is takesima , a japanese .
i succeed in access avi file in remote PC with nfs mount in openvpn tunnel .

the chart is next .

gentoo(192.168.1.88)--intra net--(192.168.1.50)openbsd=internet===
==openbsd(192.168.72.50)--intra net--(192.168.72.66)gentoo

(192.168.72.66)gentoo is remote PC .
i see and here avi file in (192.168.72.66)gentoo on
gentoo(192.168.1.88) .

the following is my methods .

1)(192.168.72.66)gentoo is nfs server .
cat /etc/exports
/video/Tu/ 192.168.1.88/255.255.255.255(rw,sync,no_root_squash)
/video/Tu/ 10.4.0.2/255.255.255.255(rw,sync,no_root_squash)
and
no firewall


2)(192.168.1.50)openbsd is openvpn server and this has adress 10.4.0.1 of 
openvpn .
pf filter is next
pass in on $ext_if proto udp from okou-add/32 to any port { 1194 } keep
state
pass in quick on tun0 all
pass out quick on tun0 all
(in this place , okou-add is internet address of (192.168.1.50)openbsd )

3)openbsd(192.168.72.50) is openvpn client and this has adress 10.4.0.2 of 
openvpn .
pass in quick on tun0 all
pass out quick on tun0 all


4)gentoo(192.168.1.88) is nfs client .
mount -t nfs 192.168.72.66:/video/Tu /NFS
and
mplayer /NFS/abc.avi, then i see and here this movie .

i wonder what ports is need on (192.168.72.66)gentoo .
because the above is too fragile in the point of security .

The details is written in http://nakajin.dyndns.org/pikara.html .
i am sorry for my poor english .



Re: a little success in vnc over openvpn

2006-04-19 Thread OS rider
Tim Donahue wrote:

Perhaps this is easier than using a redirect statement in pf.conf. 

Set `sysctl -w net.inet.ip.forwarding=1` on both servers if it not already 
set.

vncviewer 192.168.1.122

Tim Donahue


  

i am sorry , you are right .
according to man openvpn  ,
 example 3 : openvpn --remote june.kg --dev tun1 --ifconfig 10.4.0.1
10.4.0.2
--tls-client --ca tmp-ca.crt --cert client.crt --key client.key
--reneg-sec 60 --verb 5
makes vncviewer 192.168.1.122 enable .

surely i do not need rdr in pf.conf .
so i again rewote vnc over openvpn in http://nakajin.dyndns.org/pikara.html
thanks lots . takesima



Re: a little success in vnc over openvpn

2006-04-16 Thread OS rider
Perhaps this is easier than using a redirect statement in pf.conf. 
Set `sysctl -w net.inet.ip.forwarding=1` on both servers if it not already 
set.
vncviewer 192.168.1.122

  

thanks for your advice .
but i have already setup net.inet.ip.forwarding=1 in /etc/sysctl.conf
for nat of pf.conf .
Unfortunately,vncviewer 192.168.1.122 does not go well .
my vnc on openvpn has next route .
i acsess from gentoo to windows2000 by vnc on openvpn .

vnc client openvpn client openvpn server vnc server
gentoo---lan--openbsd firewall--internet--openbsd
firewall--windows2000.
192.168.72.66 192.168.1.222

i rewote http://nakajin.dyndns.org/pikara.html .
sorry for my poor english . takesima



3.8 japanese

2005-10-22 Thread OS rider
Hi all , i am a japanese , and i run openbsd3.8 (snapshot)  on pentium4 1.5G .
i have no stress using kde on this machine  and i can use japanese in jvim  .

but i hava some defects .
1) i cannot use canna , so i use Wnn ( namely jserver)  .
2) i can write japanese only in jvim ( i run   jvim on kterm on konsole ) ,
   so  i copy japanese words in jvim to  konqueror.
3) i hope openbsd will use  uim anthy  which is commonly used in LINUX 
japanese input method (this is not kanji-server type).

i also make /etc/X11/xorg.conf with   Xorg-configure(on  
/usr/X11R6/bin) .
but my keyboard is made in japan , so some corrections are needed .

in /etc/X11/xorg.conf
-
Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel jp106
Option  XkbLayout jp
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
Option  ZAxisMapping 4 5
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0

DefaultDepth 16

SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Modes 1024x768 640x480
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection
---

i install mainly kde packages with  pkg_add -v 
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/kdebase-3.4.3.tgz 
and so on .

i write down some important files .
1) /etc/hosts
::1 localhost.nakajin.dyndns.org localhost
127.0.0.1 localhost.nakajin.dyndns.org localhost
127.0.0.1 localhost.nakajin.dyndns.org jserver
::1 p4.nakajin.dyndns.org p4
192.168.72.66 p4.nakajin.dyndns.org p4


2)/home/tuyosi/.bashrc  --- i use bash .
export LANG=ja_JP.eucJP
export XMODIFIERS=@im=kinput2
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 
2003/02/28 15:45:35 azarah Exp $
# This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.
# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d=ls --color
alias ls=ls --color=auto
alias ll=ls --color -l
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne \033]0;[EMAIL 
PROTECTED]:${PWD/$HOME/~}\007'
;;
screen)
PROMPT_COMMAND='echo -ne [EMAIL 
PROTECTED]:${PWD/$HOME/~}\033\\'
;;
esac
##uncomment the following to activate bash-completion:
#[ -f /etc/profile.d/bash-completion ]  source /etc/profile.d/bash-completion


3) /home/tuyosi/.xinitrc
#!/bin/bash
export LANG=ja_JP.eucJP
export XMODIFIERS=@im=kinput2
kinput2 -wnn 
startkde


4)pkg_info
OpenEXR-1.2.2p1 high dynamic range image format
Wnn-data-4.2common files to all languages of Wnn
arts-1.4.3  K Desktop Environment, aRTs
aspell-0.50.5p1 spell checker designed to eventually replace Ispell
bash-3.0.16p1   GNU Bourne Again Shell
bzip2-1.0.3 block-sorting file compressor, unencumbered
cdparanoia-3.a9.8   CDDA reading utility with extra data verification features
cyrus-sasl-2.1.20p4 RFC  SASL (Simple Authentication and Security Layer)
esound-0.2.34   sound library for Enlightenment
expat-1.95.6XML 1.0 parser written in C
flac-1.1.2  free lossless audio codec
gettext-0.10.40p3   GNU gettext
glib-1.2.10p0   useful routines for C programming
glib2-2.6.4 general-purpose utility library
gnupg-1.4.1p0   GNU privacy guard - a free PGP replacement
gpgme-1.0.2p0   GnuPG Made Easy
gstreamer-0.8.10GStreamer streaming media framework runtime
gtk+-1.2.10p3   General Toolkit for X11 GUI
ja-Wnn-4.2p1Japanese input method
ja-Wnndict-4.2p0dictionaries for Japanese Wnn
ja-jvim-2.0rp0-wnn  Japanized Vim, wnn input method
ja-kinput2-3.0-wnn  X input method for Japanese, wnn support
ja-kterm-6.2.0p2Japanese-capable xterm
ja-less-3.32p2.48   less + zcat + ISO-2022 - a pager similar to more and pg
ja-onew-wnn4-2.2.10 library for Japanese Input Method Wnn4
jasper-1.701.0  reference implementation of JPEG-2000
jpeg-6bp2   IJG's JPEG compression utilities
kde-i18n-ja-3.4.3   ja translations for KDE
kdeaddons-3.4.3 K Desktop Environment, 

Re: 3.8 japanese

2005-10-22 Thread OS rider
Hi , Marc Espie .
your message is very kind and you give us japanese a lot of  encouragement .
it is a pity that i myself cannot read program , so i cannot any contribution 
to japanese input method programming .
i merely write down some infometion next .
-

uim is here , and this is a english www page .
http://uim.freedesktop.org/wiki/UimDownload
 
anthy is here , and it is sorrry that this page is written by japanese .
Anthy is a system for Japanese input method. It converts Hiragana text to Kana 
Kanji mixed text
http://sourceforge.jp/projects/anthy/files/

-- 
HomePage :   nakajin.dyndns.org
Mail:  [EMAIL PROTECTED]
Each for All All for One