Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 6659

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The VPN HOWTO : Tuning </TITLE>
 <LINK HREF="VPN-8.html" REL=next>
 <LINK HREF="VPN-6.html" REL=previous>
 <LINK HREF="VPN.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="VPN-8.html">Next</A>
<A HREF="VPN-6.html">Previous</A>
<A HREF="VPN.html#toc7">Contents</A>
<HR>
<H2><A NAME="s7">7. Tuning </A></H2>

<P>
<H2><A NAME="ss7.1">7.1 Configuration tuning </A>
</H2>

<P>
<P>As I said this HOWTO is mainly a quick memo on how I had set up a VPN. There are things in the configuration I didn't experiment yet. These things will go into their place when I try them, or anyone tells me "it works in the following way" The most important thing is that the connection ppp uses is not 8-bit yet. I believe it has something to do either with ssh configuration or the pty setup. In this configuration ssh uses the tilde (~) character as an escape character. It might stop or slow down the communication, as any newline-tilde sequence causes ssh to give a prompt. Ssh documentation said:  &lt;On most systems, setting the escape character to ``none'' will also make the session transparent even if a tty is used.&gt; The corresponding flag to ssh is '<EM>-e</EM>', and you can also set it in the configuration file. 
<H2><A NAME="ss7.2">7.2 Bandwith vs. cicles </A>
</H2>

<P>
<P>Creating anything virtual comes with utilization of real-world resources. A VPN eats up bandwidth and computing resources. The goal would be to get balance between the two. You can tune it with the '-C' switch or the 'CompressionLevel' option. You might try using another cipher, but I don't recommend it. Also note that the round-trip-time can be longer if you use better compression. Any experiments on it are welcome. 
<HR>
<A HREF="VPN-8.html">Next</A>
<A HREF="VPN-6.html">Previous</A>
<A HREF="VPN.html#toc7">Contents</A>
</BODY>
</HTML>