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 .