Koozali.org: home of the SME Server

pptp out from a workstation behind e-smith?

Peter Marriott

pptp out from a workstation behind e-smith?
« on: March 02, 2001, 04:26:29 AM »
Hi,

My work has an NT domain that I can VPN to if I connect to the internet via a normal ISP dialup connection.  When I try to VPN to it from a workstation behind my e-smith firewall at home it doesn't seem to connect.

Can someone tell me how/or if i can do this?  

Cheers
Peter

Joost

Re: pptp out from a workstation behind e-smith?
« Reply #1 on: March 04, 2001, 05:38:46 PM »
I got it working with the updated redhat kernel (2.2.17-14).
Install it with rpm -iv
do a mkinitrd if you have scsi hardware or drivers that need to be loaded at bootup
edit your lilo.conf file to include the kernel
do a lilo -v
reboot anch choose the new kernel
do a modprobe ip_gre and a modprobe ip_masq_pptp
That should do it

Joost
PS: You'll loose ip_masq_icq (icq will still work but not the chat part) and ip_masq_h323. Can anyone point me in the right direction as to how I could compile those for this version of the kernel?

Charlie Brady

Re: pptp out from a workstation behind e-smith?
« Reply #2 on: March 04, 2001, 09:21:27 PM »
Joost wrote:

> PS: You'll loose ip_masq_icq (icq will still work but not the
> chat part) and ip_masq_h323. Can anyone point me in the right
> direction as to how I could compile those for this version of
> the kernel?

If you have a look at the spec file for the ip_masq_{icg,h323} RPMs you should be able to work out how to build for the new kernel.

Or you could look in my contrib directory on ftp.e-smith.org (pub/e-smith/contrib/charlieb) in a short while.

BTW, you will also lose PPTP VPN if you upgrade the kernel - there is no kernel module for PPTP encryption bundled with the RedHat kernel. The relevant module can by built from e-smith PPP source RPM.

Regards

Charlie

Peter Marriott

Re: pptp out from a workstation behind e-smith?
« Reply #3 on: March 06, 2001, 04:21:00 PM »
Hi Joost,

Thanks for the tips!

I tried this and was able to boot with the new kernel, but at startup the pppoe service which I use for my internet connection fails with a timeout.  I don't know how to do a mkinitrd, and whether this is causing my problem.  (works fine when I boot to the normal kernel)

Any help would be really appreciated!  I guess except it will mean that I have no excuse for not working from home. :)

Thanks
Peter

Charlie Brady

Re: pptp out from a workstation behind e-smith?
« Reply #4 on: March 06, 2001, 06:36:00 PM »
Charlie Brady wrote:

> BTW, you will also lose PPTP VPN if you upgrade the kernel -
> there is no kernel module for PPTP encryption bundled with
> the RedHat kernel. The relevant module can by built from
> e-smith PPP source RPM.

I should have pointed out that you will lose any PPP connection, including pppoe. If you do not need PPTP VPN, you should be able to restore modem dialup and pppoe by removing the line:

alias ppp ppp-4mppe

from /etc/modules.conf, then running

/sbin/depmod -a

Regards

Charlie

Peter Marriott

Re: pptp out from a workstation behind e-smith?
« Reply #5 on: March 11, 2001, 05:58:13 PM »
Thanks for the tips, I have tried these and am getting closer.  I now receive the following error when trying to connect.

Error 619: The specified port was not connected.   (I am using win2k professional as the workstation and am connecting to a NT4 server, via my home e-smith firewall)

Any ideas would be greatly appreciated