[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Qube 3 and VPN
- Subject: Re: [cobalt-users] Qube 3 and VPN
- From: "Christophe Ney" <cney@xxxxxxxxxxxxxx>
- Date: Wed Oct 30 05:01:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I am trying to setup the qube as a PPTP client (for my DSL connection),
and this mail from richard was perfect but the ftp site is no longer
available.
Could anyone help me?
Thanks,
Christophe
Christophe Ney
Hypermedia System Consulting
WEB Engineering for Virtual Communities
http://christophe.batisseurs.com
mailto:christophe@xxxxxxxxxxxxxx
phone/fax +33 4 78 94 85 53
mobile +33 6 61 48 85 53
---------------------------------------
[cobalt-users] Qube 3 and VPN
Richard Shaffer cobalt-users@xxxxxxxxxxxxxxx
Fri Sep 7 05:35:08 2001
Previous message: [cobalt-users] 3500 emails on admin account
Next message: [cobalt-users] mysqlconnect() not supported in php 4.0.6 ?????
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----------------------------------------------------------------------------
----
I've seen a few messages on here regarding problems with PPTP when using
the Qube 3. Since I've already solved that problem for myself, I
thought I'd share my findings with the list.
PPTP Masquerading
------------------------------
If you are using your Qube to do IP masquerading and you want to use a
client with a masquerading IP address to connect to a VPN server on the
Internet, you will need to install support for PPTP masquerading. This
requires installing a new kernel, but that's not as scary as it sounds.
If you're familiar with patching, compiling and installing a kernel, you
can download the patch from
http://www.impsec.org/linux/masquerade/ip_masq_vpn-2.2.15.patch.gz. If
you are using kernel version 2.2.16-C7, you will already have the Cobalt
kernel source in /usr/src/linux. If you upgraded your kernel, you can
download the source rpm from ftp://ftp.cobalt.com/pub/rpms/. Apply the
patch, do a "make config" and accept all the defaults except when it
asks you about CONFIG_IP_MASQUERADE_PPTP. In that case, choose 'm' to
compile the option as a loadable module. The do "make dep", "make
modules", "make cobalt". Copy the appropriate kernel image from /boot
to the root (/) and reboot. Now issuing the command "modprobe
ip_masq_pptp" should install the module and allow you to masquerade a
PPTP connection.
If the above sounds really scary, don't worry: I've already done this
for you and put it in a nice package. Just log into the Qube's
administration UI, go to the BlueLinQ tab, choose New Software and
Install Manually, then enter this URL in the URL field:
ftp://ftp.mindspring.com/users/richshaffer/vpnmasq-2.2.16C24_III.pkg.
I've used this in a couple of places with no trouble, but I must warn
you that this is a "use at your own risk" type of deal.
Using the Qube as a PPTP Client
-------------------------------------------------
In some cases, like if you have a remote office or something, it may be
desirable to have the Qube run the PPTP client. The advantage is that
your desktop or laptop computer no longer has to worry about setting up
and configuring the remote VPN connection. The possible disadvantage is
that now everyone that has network access to the Qube 3 also has access
to the remote network.
Installing this feature doesn't require installing a new kernel, but it
does require having a configured kernel source tree. If you have kernel
version 2.2.16-C7, all you need to do is "cd /usr/src/linux" followed by
"make dep". If you have upgraded your kernel to something else, you
should download the source rpm from ftp://ftp.cobalt.com/pub/rpms. Look
for the source version that matches your currently running kernel. (You
can find your kernel version by using the command "uname -r".) Download
that version to your Qube 3, then do an "rpm -i *rpm_filename_here*" to
install the rpm. Then do "cd /usr/src" and issue the command "tar xzvf
redhat/SOURCES/cobalt-linux-*.tar.gz" to unpack the kernel sources.
Next, cd to the linux-2.2 directory and copy the config-raq5-pacifica
file to .config. Now do "make dep".
Once you have the kernel thing done, grab a copy of the file
ftp://ftp.mindspring.com/users/richshaffer/pptp-install.tar.gz. Unpack
this file using "tar xzvf pptp-install.tar.gz" and you should find a
file called pptp-install.howto, which contains pretty specific
instructions for installing the ppp daemon and modules, and installing
the pptp client. The new pppd seems to work fine with Cobalt's
implementations of pppoe and dialup ppp.
Hope this info is helpful to someone. ;-)
-Richard
----------------------------------------------------------------------------
----
Previous message: [cobalt-users] 3500 emails on admin account
Next message: [cobalt-users] mysqlconnect() not supported in php 4.0.6 ?????
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks,
Christophe
Christophe Ney
Hypermedia System Consulting
WEB Engineering for Virtual Communities
http://christophe.batisseurs.com
mailto:christophe@xxxxxxxxxxxxxx
phone/fax +33 4 78 94 85 53
mobile +33 6 61 48 85 53