VPN client/server ( Windows ) RMD ..

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

VPN client/server ( Windows ) RMD ..

Post by gilesgoat »

Ok this is a thing that maybe some of you may know.

Now NO, I DO NOT need VPN "to browse internet pr0n" or shit like that ( I already do it OK without VPN :lol: ).

I need to "Connect point A with point B" and that's it, client on "B", server on "A".

Until some years ago I was using the pure window RRAS ( yes bit crap BUT DID WORK FOR FREE ) until win10/11 fucked something up :(

Now I tought that "in the world of OpenSource/Free SW" I could have found something "that just work" for free.

But it seems I am not able to find it and nowadays "VPN" seems mostly to mean "I have PAID SUBSCRIPTION" for some shit service I use to log in there to browse weird pr0n all day.

This is not what I want also I want a solution that is "Local" ( i.e. *I* run locally the server/client on the machines ) , "reliable", "easy to use/set up".

As I said "RRAS may sound crap" .. but it did work as a charm with PPTP until .. until we moved to fibre, had to change the router, upgraded to win10 ..

And it seems I haven't been able to make it work any more since.

"Worst case" ( or best ? ) case scenario I may even consider putting up a linux machine with a server "just for that".

I am open to suggestions.

Thanks in advance.

[edit] - also forgot to say we got a (*&£*$&£&"^ "BT Business Broadband" router, that I tried my best to configure as was the other one before that was working.
Giles the billy goat
"Baa"
User avatar
Little stoned kiwi
Baaaaaa!
Baaaaaa!
Posts: 4597
Joined: Mon Oct 27, 2003 6:05 am 0
Location: Christchurch

Re: VPN client/server ( Windows ) RMD ..

Post by Little stoned kiwi »

If they think you're crude, go technical; if they think you're technical, go crude. I'm a very technical boy.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VPN client/server ( Windows ) RMD ..

Post by gilesgoat »

If I read correctly BOTH of those are NON Open Source NOR really free plus at least the zerotier seems they want you to connect to their OWN "centralised server" so if I I want to "connect A to B" it seems the reality is "both A and B connect to 'central server' X and then X routes a to b" ..

Which is NOT what I want.

[edit] - to say something good about Windows, the way RRAS works is that is a client AND/OR a server at the same time.

In essence PPTP at least is "Nothing much more than PPP over Eth" with some little extra extensions so it's not exactly rocket science, it should not take more than a "small .exe" to run.

The advantage of Windows RRAS is that it used to be able to use "windows autentication" if necessary, to authenticate logins and/or could have simply go with "standard means" including crap like MS-CHAP or such ( or better ).
Giles the billy goat
"Baa"
User avatar
zip accident
Sheepie Whore
Sheepie Whore
Posts: 13928
Joined: Sun Feb 20, 2005 1:58 pm 0
Location: Bristol, UK

Re: VPN client/server ( Windows ) RMD ..

Post by zip accident »

"My way is the way of not fighting":- the book of Enter the Dragon.
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1810
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: VPN client/server ( Windows ) RMD ..

Post by Whiteball »

Maybe not exactly what you want to do?

If I just want files available between two computers I use syncthing

https://syncthing.net/
https://github.com/syncthing/syncthing
User avatar
Little stoned kiwi
Baaaaaa!
Baaaaaa!
Posts: 4597
Joined: Mon Oct 27, 2003 6:05 am 0
Location: Christchurch

Re: VPN client/server ( Windows ) RMD ..

Post by Little stoned kiwi »

If your server is running a Windows Sever edition you can setup a PPTP connection. Is it open? No, it's Microsoft's.
Perhaps the firewall or router provides VPN services. Do you trust them?
A 100% open-source solution where you can, though never will, invest time to audit the code and ensure it meets your high standard. Do you trust that?
If they think you're crude, go technical; if they think you're technical, go crude. I'm a very technical boy.
User avatar
WiteWulf
Sheepie Whore
Sheepie Whore
Posts: 10125
Joined: Mon Aug 23, 2004 11:20 am 0
PSN: WiteWulf
Location: Loughborough(ish)

Re: VPN client/server ( Windows ) RMD ..

Post by WiteWulf »

I use Tailscale on all my devices. It's a fantastic opensource frontend to OpenVPN that creates a private VPN mesh. I really can't recommend it highly enough.

It can either provide remote access to the individual host it's running, on you can configure it to act as an "exit node" to all the other hosts (not necessarily running Tailscale themselves) on that subnet.

https://tailscale.com
Last edited by WiteWulf on Sun Mar 12, 2023 1:17 pm 0, edited 1 time in total.
:::G:::

PSN: WiteWulf
Switch: SW-3941-2878-7584
Steam: WITEWULF66
User avatar
WiteWulf
Sheepie Whore
Sheepie Whore
Posts: 10125
Joined: Mon Aug 23, 2004 11:20 am 0
PSN: WiteWulf
Location: Loughborough(ish)

Re: VPN client/server ( Windows ) RMD ..

Post by WiteWulf »

BTW, OpenVPN *is* free and opensource, the product at the website openvpn.net is *not*

This is what you want if you want to source/components:
https://github.com/OpenVPN/openvpn

But, like I said, Tailscale is my solid recommendation.
:::G:::

PSN: WiteWulf
Switch: SW-3941-2878-7584
Steam: WITEWULF66
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1810
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: VPN client/server ( Windows ) RMD ..

Post by Whiteball »

I've used tailscale too and it is indeed very good so would second that recommendation.
Free for personal/hobby use with 1 user and a bunch of devices otherwise it is a paid for solution though.
User avatar
WiteWulf
Sheepie Whore
Sheepie Whore
Posts: 10125
Joined: Mon Aug 23, 2004 11:20 am 0
PSN: WiteWulf
Location: Loughborough(ish)

Re: VPN client/server ( Windows ) RMD ..

Post by WiteWulf »

Yeah, the one user thing is fine: if you want multiple ppl to use your network you just share credentials, so long as you don’t want granular access control.
:::G:::

PSN: WiteWulf
Switch: SW-3941-2878-7584
Steam: WITEWULF66
User avatar
Harlequin
Baaaaaaa!
Baaaaaaa!
Posts: 6505
Joined: Wed Jun 05, 2002 4:19 am 0
Location: London, directly above the centre of the Earth.

Re: VPN client/server ( Windows ) RMD ..

Post by Harlequin »

Does anyone here have any experience of and opinions on SoftEther, which also appears to be free for professional use?
Emoticon and contraction free since... quite a while ago.
User avatar
WiteWulf
Sheepie Whore
Sheepie Whore
Posts: 10125
Joined: Mon Aug 23, 2004 11:20 am 0
PSN: WiteWulf
Location: Loughborough(ish)

Re: VPN client/server ( Windows ) RMD ..

Post by WiteWulf »

I'd never heard of SoftEther before today. Doing some Googling, although multi-platform, it appears to primarily be of interest to Windows users for some reason.

On paper it has a compelling feature set, but doesn't seem to get written up in any of the places online I'm familiar with. Give it a go, see how you get on!
:::G:::

PSN: WiteWulf
Switch: SW-3941-2878-7584
Steam: WITEWULF66
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VPN client/server ( Windows ) RMD ..

Post by gilesgoat »

OK THIS IS INSANE ...

Cause soon we'll have a switchover to "all digital" ( they tell us analog telephones won't exist any more ) took advantage managed to talk to someone at BT that incredibly knew something about and tells me "well actually the BT ROUTER/MODEM CAN *NOT* WORK AS A VPN SERVER and/or let VPN traffic IN" ..

So they suggested me the following "option", it seems you can set it in some "totaly bypass mode" where it just moves traffic in/out wihtout any contol/etc. and on the other side of that place another router/firewall capable to do VPN.

They even suggested me "a model that would work" that is this "NightHawk Netgear" ... quick look .. 600 QUIDS !!!!

So I had a bit of a search my own .. I may have found "something else more reasonable" that should do the work and is this : TP-Link AX5400 which I am not sure about the firewall/mapping but does have a PPTP/LTP2 "embedded server" and even has instructions about how to make it work for Windows/Mac. ( always liked TP-Link, I think they are some "Cisco in disguise" ).

BUT .. as you can see it's NOT a Fibre MODEM .. and I can't yet find an "integrated solution" .. i.e. something that allows me to run a VPN server and also be a Fibre modem as well.

I keep seeing prices going from 600 to even 1000 quids for such things ..

IS THAT NORMAL ??!!! Is that the price of a fibre modem ??!!
Giles the billy goat
"Baa"
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Re: VPN client/server ( Windows ) RMD ..

Post by Dio »

Sounds like bollocks from your 'informed' person.

The BT home hub router has a DMZ and port forwarding (or ipv6 pinholes, if you're feeling brave) so you should be able to set up any VPN server on that. But you'd need a static IP to get to it, or some way to find out what the current IP address of the router is. It does support dynamic DNS for that.

It does also have its own native incoming VPN support "for most VPN software".

That's all just from looking at the config menus though, I haven't used any of that myself.

Unless this 'BT business router' is substantially more shit than the home one I guess. Which would be odd.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: VPN client/server ( Windows ) RMD ..

Post by gilesgoat »

Dio wrote:Sounds like bollocks from your 'informed' person.

The BT home hub router has a DMZ and port forwarding (or ipv6 pinholes, if you're feeling brave) so you should be able to set up any VPN server on that. But you'd need a static IP to get to it, or some way to find out what the current IP address of the router is. It does support dynamic DNS for that.

It does also have its own native incoming VPN support "for most VPN software".

That's all just from looking at the config menus though, I haven't used any of that myself.

Unless this 'BT business router' is substantially more shit than the home one I guess. Which would be odd.
I do have a static IP that's not the problem and I already done the usual port forwarding ( port 1723 IIRC ) can't remember if you need also PORT 500 but I tried it all.

However something seems to go odd, you get the point it does the initial PPPT authentication, you get connection to the net and after some seconds all falls off.

Tried even "port clamping" the only option that is and NOTHING seems to work.

We have a BT Business Hub that apparently is even more shit than the "home" hub.

I tried all shit I can think of but nothing seems to work .. the thing is with DSL and the OLDER router ALL was working FINE, it's since we moved to fibre that shit happens.

[edit] - and you can NOT select any "protocol" or such, you can only say "this thing goes to port XYZ" and that's it.
Giles the billy goat
"Baa"
Post Reply