Re: VPN using bundled ppp?

2007-06-09 Thread ghozzy

Since this is not the first request, I'm cc'ing to the list.
Maybe others will find this helpful.

On 6/9/07, anwara [EMAIL PROTECTED] wrote:

- Original Message -
From: ghozzy [EMAIL PROTECTED]
To: Baranov Dmitry [EMAIL PROTECTED]
Cc: freebsd-stable@freebsd.org
Sent: Thursday, June 07, 2007 8:41 PM
Subject: Re: VPN using bundled ppp?


 On 6/7/07, Baranov Dmitry [EMAIL PROTECTED] wrote:
 Hi, all!

 Is it possible to use VPN connections using bundled ppp without
 installing any additional software in FreeBSD 6.2 STABLE?

 Dmitry d-Metrius Baranov
 ===
 e-mail: private: [EMAIL PROTECTED]
 www: http://www.d-metrius.ru
 icq: 87-97-07

 VPN connections between FreeBSD and what ? Another FreeBSD or Windows ?
 I use VPN between FreeBSD and FreeBSD using ssh as a secure tunnel and
 run /usr/sbin/ppp over that. Works very fine for me. If you mean that,
 i can send you my configs and scripts.

 --
 ghozzy

Hi ghozzy
Do you mind to send your config,  and little advice, tips or trick for vpn
over ssh setting to my email?

rgds
anwara


I'm not claiming that this is the best configuration possible.
Specifically, man ppp says about PPP over TCP:

The major disadvantage of this mechanism is that there are two guaran-
teed delivery mechanisms in place - the underlying TCP stream and what-
ever protocol is used over the PPP link - probably TCP again.  If packets
are lost, both levels will get in each others way trying to negotiate
sending of the missing packet.


In this case, things are probably even more wrapped:
ssh uses real TCP connection, encryption layer  adds protocol
overhead, then PPP uses all this for its own packets, and finally
another TCP/IP stack is encapsulated.

Some kind of packet-for-packet encryption is probably more appropriate, like
encryption inside ppp (standard /usr/sbin/ppp claims to support MPPE,
but i've never tried that), or already mentioned in this thread pptpclient,
or mpd, or OpenVPN, or IPsec, or whatever.

However long time ago when there was no such variety of solutions,
i went ahead and simply wrapped ppp into ssh tunnel, and it just worked.
With good network connection i didn't experience any inconviniences,
even that i'm running ssh over that encrypted tunnel.

So here it is -- for those who want to try themselves.
Attached archive contains INSTALL instructions and scripts or pieces of
configuration files.

--
ghozzy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: VPN using bundled ppp?

2007-06-09 Thread ghozzy

On 6/9/07, ghozzy [EMAIL PROTECTED] wrote:

Since this is not the first request, I'm cc'ing to the list.
Maybe others will find this helpful.


[snip]


So here it is -- for those who want to try themselves.
Attached archive contains INSTALL instructions and scripts or pieces of
configuration files.


Sorry, it seems attachment didn't get to the list..
[was that my fault or text-only attachments are allowed ?]
Here is the URL for download:
http://ghozzy.wellbeingcompany.nl/vpn/vpn.tgz

--
ghozzy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


VPN using bundled ppp?

2007-06-07 Thread Baranov Dmitry
Hi, all!

Is it possible to use VPN connections using bundled ppp without
installing any additional software in FreeBSD 6.2 STABLE?

Dmitry d-Metrius Baranov
===
e-mail: private: [EMAIL PROTECTED]
www: http://www.d-metrius.ru
icq: 87-97-07

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN using bundled ppp?

2007-06-07 Thread Clayton Milos

Hi, all!

Is it possible to use VPN connections using bundled ppp without
installing any additional software in FreeBSD 6.2 STABLE?

Dmitry d-Metrius Baranov
===
e-mail: private: [EMAIL PROTECTED]
www: http://www.d-metrius.ru
icq: 87-97-07



Not as far as i know. Install /usr/ports/net/pptpclient/
That's what I use for pptp vpn's. It's easy to set up and works like a 
charm.


-Clay

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN using bundled ppp?

2007-06-07 Thread Ronald Klop

On Thu, 07 Jun 2007 13:41:47 +0200, Clayton Milos [EMAIL PROTECTED] wrote:


Hi, all!

Is it possible to use VPN connections using bundled ppp without
installing any additional software in FreeBSD 6.2 STABLE?

Dmitry d-Metrius Baranov
===
e-mail: private: [EMAIL PROTECTED]
www: http://www.d-metrius.ru
icq: 87-97-07



Not as far as i know. Install /usr/ports/net/pptpclient/
That's what I use for pptp vpn's. It's easy to set up and works like a  
charm.


In 6-STABLE there is the lagg(4) driver.

Ronald
--
 Ronald Klop
 Amsterdam, The Netherlands
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN using bundled ppp?

2007-06-07 Thread ghozzy

On 6/7/07, Baranov Dmitry [EMAIL PROTECTED] wrote:

Hi, all!

Is it possible to use VPN connections using bundled ppp without
installing any additional software in FreeBSD 6.2 STABLE?

Dmitry d-Metrius Baranov
===
e-mail: private: [EMAIL PROTECTED]
www: http://www.d-metrius.ru
icq: 87-97-07


VPN connections between FreeBSD and what ? Another FreeBSD or Windows ?
I use VPN between FreeBSD and FreeBSD using ssh as a secure tunnel and
run /usr/sbin/ppp over that. Works very fine for me. If you mean that,
i can send you my configs and scripts.

--
ghozzy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN using bundled ppp?

2007-06-07 Thread Maxim Vetrov

Baranov Dmitry wrote:

Hi, all!

Is it possible to use VPN connections using bundled ppp without
installing any additional software in FreeBSD 6.2 STABLE?

Dmitry d-Metrius Baranov
===
e-mail: private: [EMAIL PROTECTED]
www: http://www.d-metrius.ru
icq: 87-97-07

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Yes, but be prepared! :-)

Man ppp:
...It is possible to configure ppp to participate in Microsoft's 
Windows VPN...


Regards,
Muxas
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]