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



Re: a little success in vnc over openvpn

2006-04-14 Thread Tim Donahue
On Friday 14 April 2006 07:45, OS rider wrote:
 Hi all , my name is takesima , a japanese .
 i can manipulate a windows 2000 machine ( which address is 192.168.1.222
 ) via internet .

 the point is  rdr on tun0 inet proto tcp from any to 10.4.0.2 -
 192.168.1.22 in pf.conf  and  vncviewer 10.4.0.2 .

 i wrote details in the last part of http://nakajin.dyndns.org/pikara.html .
 this is my first trial ,then there may be mistakes , so please point out
 them .

 regards

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