<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on article "TightVNC and VNC_VIA_CMD"</title>
<link>http://home.zyrianes.net/blog/Articles/149/</link>
<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>
<language>en</language>
<copyright>The contents of this blog are available for non-commercial use only.</copyright>
<generator>Alinea http://pythonfr.org/alinea/</generator>


<item>
<title>ludo on TightVNC and VNC_VIA_CMD</title>
<link>http://home.zyrianes.net/blog/Comments/20/</link>
<guid isPermaLink="true">http://home.zyrianes.net/blog/Comments/20/</guid>
<description><![CDATA[
&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>
<dc:creator>ludo</dc:creator>
<dc:date>2005-05-25T22:08:27Z</dc:date>
</item>

<item>
<title>Jkx on TightVNC and VNC_VIA_CMD</title>
<link>http://home.zyrianes.net/blog/Comments/17/</link>
<guid isPermaLink="true">http://home.zyrianes.net/blog/Comments/17/</guid>
<description><![CDATA[
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>
<dc:creator>Jkx</dc:creator>
<dc:date>2005-05-18T10:50:51Z</dc:date>
</item>


</channel>
</rss>
