Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

VPN server under the lan

Jul 7, 2017 11:45AM PDT

Hello, I want to setup a VPN server in a raspberry pi in my Lan.
My requirements are the standards that any VPN server provide.
My question is if is that possible to be considering that that server and the clients are under a router, under the same external IP.
My thoughts deploying it are that clients will attempt to connect to the server via a service like noip domain name that maintain my IP
static.
Is there any problem to deploy it?
Thanks.

Discussion is locked

- Collapse -
Answer
No, but may test your networking skills.
Jul 7, 2017 11:53AM PDT

I can't teach this here but as you are creating the server you will learn a great deal along the way.

In short, a VPN server can be many things to many people. It's sort of like "I want ice cream." So many flavors.

- Collapse -
Major requirement
Jul 7, 2017 12:29PM PDT

The major requirement is the the encryption the server provide. Thus, the security.

- Collapse -
VPN does that.
Jul 7, 2017 12:34PM PDT

So that's a given. What the VPN server does over this link is whatever you decide.

Step back and think about what your server will be doing. That's the major requirement.

- Collapse -
Analysis
Jul 7, 2017 12:43PM PDT

The client, from my Lan, attempt to connect to the paradigm.ddns.something, which is the mask of my router's IP. The latter will port forwarding my Lan again but at the VPN server. The server will communicate with the internet. Am I ok until now?

- Collapse -
Analysis.2
Jul 7, 2017 12:53PM PDT

As I am considering the project I may say that there's a drawback of that attempt... The problem maybe the that all these are under the same Lan so : the server should send data to the internet decrypted. Thus, no encrypted data will flow out of my external IP...
Is there something that I missing???

- Collapse -
Answer
That's your choice as to what your server does, but.
Jul 7, 2017 1:15PM PDT

Let's simplify what a VPN server does. It's "as-if" you plugged your PC into this LAN. It's that simple. It does not shield what you do from that LAN to the WEB. VPN's don't do that.

I've seen folk get all excited about making their own VPN then cry that it doesn't say, encrypt the web or hide their activity.

Now if you wanted to hide your activity from your ISP, that's where a remote VPN on some other site plays in. But since you have your VPN on your LAN and I'm guessing here want to shield your web activity, nope, doesn't do that.