<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:content="http://purl.org/rss/1.0/modules/content/">

<channel rdf:about="http://home.zyrianes.net/blog/Articles/149/">
<description>&lt;p&gt;TightVNC has a '-via' option that allows using a gateway through the client and the VNC server.&lt;/p&gt;
&lt;p&gt;TightVNC with this option can use a 'host in the middle' (gateway) to access another host. The VNC_VIA_CMD defines the ssh options to access the gateway.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
host A access host C through host B. A and B have a public IP, but C is behind B. 
A can access B with ssh.
export VNC_VIA_CMD='/usr/bin/ssh -2 -x -p &amp;lt;B sshd port&amp;gt; -l &amp;lt;B user&amp;gt; -f -L %L:%H:%R %G sleep 20'
vncviewer -via  &amp;lt;B host ip&amp;gt; &amp;lt;C host IP from B&amp;gt;
&lt;/pre&gt;
&lt;p&gt;true life example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
foo --&amp;gt; gateway.bar.com --&amp;gt; 192.168.1.36
foo&amp;gt; export VNC_VIA_CMD='/usr/bin/ssh -2 -x -p 55 -l foo -f -L %L:%H:%R %G sleep 20'
foo&amp;gt; vncviewer -via  gateway.bar.com 192.168.1.36
&lt;/pre&gt;
&lt;dl&gt;
&lt;dt&gt;links :&lt;/dt&gt;
&lt;dd&gt;&lt;ul class="first last simple"&gt;
&lt;li&gt;&lt;a class="reference" href="http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html"&gt;http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;charcode test:&lt;/dt&gt;
&lt;dd&gt;&lt;ul class="first last simple"&gt;
&lt;li&gt;&amp;amp;&lt;/li&gt;
&lt;li&gt;&amp;amp;amp;&lt;/li&gt;
&lt;li&gt;&amp;amp;#38;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
</description>
<link>http://home.zyrianes.net/blog/Articles/149/</link>
<title>Comments on article "TightVNC and VNC_VIA_CMD"</title>



<items>
<rdf:seq>

<rdf:li rdf:resource="http://home.zyrianes.net/blog/Comments/20/"/>

<rdf:li rdf:resource="http://home.zyrianes.net/blog/Comments/17/"/>

</rdf:seq>
</items>


</channel>


<item rdf:about="http://home.zyrianes.net/blog/Comments/20/">
<dc:date>2005-05-26T00:08:27.000003+02:00</dc:date>
<title>ludo on TightVNC and VNC_VIA_CMD</title>
<link>http://home.zyrianes.net/blog/Comments/20/</link>
<author>ludo</author>
<description>
&lt;p&gt;I push the limit, I didn't feel good switching to the VPN installation and management.&lt;/p&gt;
&lt;p&gt;With this solution I didn't need a VPN server on the host having the vnc server, just ssh access to the gateway :-)&lt;/p&gt;

</description>
</item>

<item rdf:about="http://home.zyrianes.net/blog/Comments/17/">
<dc:date>2005-05-18T12:50:51.000002+02:00</dc:date>
<title>Jkx on TightVNC and VNC_VIA_CMD</title>
<link>http://home.zyrianes.net/blog/Comments/17/</link>
<author>Jkx</author>
<description>
Hum .. perhaps it's time to switch to a real VPN solution not a tcp tunneling ? The best part is that you will have some better performance without the gateway overhead.
</description>
</item>


</rdf:RDF>