LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2003, 01:15 PM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Talking Is there an easy way to set up VPN on Linux ?


I've tried poptop, and I see that I need to patch the kernel, patch the latest pppd, compile them both, then load a module, in order to be compatable with MS encryption.

I took a look at freeswan, and the setup procedure is definitely more detailed than poptop.

Is there an easy friggin way to set up VPN on Linux ?


JC
 
Old 08-09-2003, 02:37 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
linux<->linux or linux<->win

linux<->linux - ppp(no patch required) over ssh works pretty good for me, i think theres some howto's on tldp.org about it.

linux<->win - my only solution has been to put a linux box infront of the windows box and let it act as a gateway. i think theres some bsd people working on the pptp thing but i think theyve only got clients working not servers.
 
Old 08-09-2003, 03:03 PM   #3
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
Thanks for reply. I am trying to have my Slack box be the server, and connect to it from Windows clients.

I'm begining to think that the sensible thing to do is let the windows machine on my lan be the vpn server, and since it is connected to my samba server, I believe it should work.

It would be Windows<-WAN->Windows<-LAN->Linux. I'll let Windows be the middle man.

JC

Last edited by lostboy; 08-09-2003 at 03:04 PM.
 
Old 08-09-2003, 03:17 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
if you need windows clients to connect then i think its much easier to run a windows server, this is the linux client for pptp if you want *nix machines to connect as well. sorry i couldnt be of more help.
 
Old 08-09-2003, 06:10 PM   #5
dude_228
Member
 
Registered: Dec 2002
Posts: 37

Rep: Reputation: 15
sorry :: for this question
what is vpn exactly?
is it remote desktop control?
 
Old 08-09-2003, 06:18 PM   #6
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
nope, its basically running ip over some other protocol. say for example you have a network called A with addresses 192.168.1.* and a public address say 81.64.8.129 and you have a machine B in another country with public address 64.198.6.42, a vpn establishes a connection between machine A and B say an ssh connection and lets you run ip over the connection with say slip/pppd so you can give machine B an internal address on A's network and it can talk directly with any machine on A's network even though they are not on the internet.

i apologize if those ip's belong to anyone i picked them totally at random.

<edit> you may be thinking of vnc i think thats remote desktop

Last edited by kev82; 08-09-2003 at 06:20 PM.
 
Old 08-10-2003, 09:26 AM   #7
bferrell
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
Just about any VPN you use willl require a module. PPTP (poptop) is reasonable and fairly simple to setup AND it requires nothing new on the windows machine. If you do a google search for pptpd you probably find prebuilt binaries.
 
Old 08-10-2003, 03:17 PM   #8
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
I'm not worried about loading a module. I'm just lazy when it comes to patching source, and recompiling a kernel.

JC
 
Old 08-11-2003, 11:45 PM   #9
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
The answer is yes, there is an easy way. Extremely easy as compared to everything else that I have looked at.

1. start the ssh daemon on Linux server. (install if nec.)
2. install WinSCP3 on the Windows client.
3. do setup configuration on server(user,group,passwd).
4. run WinSCP3.exe
5. that's it. start transfering files.

note:

I would avoid using MSVPN. From what I understand, mspptp has security issues.

That is just my opinion, and I formed it after reading this :

http://www.counterpane.com/pptp-faq.html

JC
 
Old 05-18-2004, 11:30 PM   #10
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
That is a VPN?

That WinSCP looks like it is only for tranferring files, what about other operations? Ping, other services, etc. What about non-Windows clients? I am trying Freeswan out right now, looks pretty simple, but every post I have read said it is hard. We will see...
 
Old 05-25-2004, 06:05 PM   #11
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Freeswan Works!

Just wanted to let everyone know I was able to get Freeswan working for my VPN solution, and by also running the l2tp service Windows boxen can also access my VPN. All for free! While Freeswan is no longer under development, it still works like a champ. I am running version 2.05, btw.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN Set UP using Linux nuurul_basar Linux - Networking 2 06-08-2005 10:27 PM
Hwo to set up a VPN with linux asadhussain Linux - Networking 3 11-30-2003 06:48 PM
Easy Question - set hostname in RH 9 kkempter Linux - Software 2 05-23-2003 03:49 PM
Easy to set up another distro? hamster Linux - Newbie 3 05-20-2003 09:46 PM
Multiple Windows PPTP Clients/Easy VPN Solution??? Tarantismic Yak Linux - Security 5 04-17-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration