<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Piece of Unix Hints &#187; PPP</title>
	<atom:link href="http://hints.jeb.be/tag/ppp/feed/" rel="self" type="application/rss+xml" />
	<link>http://hints.jeb.be</link>
	<description>hints.jeb.be</description>
	<lastBuildDate>Fri, 04 Dec 2009 20:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PPP Over SSH</title>
		<link>http://hints.jeb.be/2008/12/17/ppp-over-ssh/</link>
		<comments>http://hints.jeb.be/2008/12/17/ppp-over-ssh/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 01:47:40 +0000</pubDate>
		<dc:creator>Jeb</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[PPP]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://hints.jeb.be/?p=32</guid>
		<description><![CDATA[You may want to establish a full IP connection to a remote host (or remote lan) but you may not have any VPN software on the remote host, or on your host. There is a solution using SSH and PPP with the command pppd pty 'ssh -x -t -e none user@server /usr/sbin/pppd passive noauth 9600' [...]]]></description>
			<content:encoded><![CDATA[<p>You may want to establish a full IP connection to a remote host (or remote lan) but you may not have any VPN software on the remote host, or on your host.<br />
There is a solution using SSH and PPP with the command</p>
<blockquote><p><code>pppd pty 'ssh -x -t -e none user@server /usr/sbin/pppd passive noauth 9600' noauth 10.0.0.1:10.0.0.2</code></p></blockquote>
<p>You have to use key authentication because the tty is redirected to pppd so you can&#8217;t be prompted for a password.<br />
With this command, you can reach server at IP 10.0.0.1.<br />
By playing with pppd and route tables you can extend the IP tunnel to the entire remote LAN.</p>
<p>This has been tested between Mac OS X and NetBSD but should work with any system.<br />
It works but it&#8217;s very slow.</p>
<p>On some system you may have TTY problem, if it&#8217;s your case take a look to <a  class="ext-link" href="http://www.ishiboo.com/~nirva/Projects/vpn/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.ishiboo.com/_nirva/Projects/vpn/?referer=');">http://shinythings.com/pty-redir/</a> or <a class="ext-link"  href="http://www.ishiboo.com/~nirva/Projects/vpn/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.ishiboo.com/_nirva/Projects/vpn/?referer=');">http://www.ishiboo.com/~nirva/Projects/vpn/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hints.jeb.be/2008/12/17/ppp-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
