Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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.
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.
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.
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
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.
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 :
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.