I want to set up a VPN that uses the client’s IP when sending data out of the VPN server. I am able to use either OpenVPN (open-source edition), or Wireguard.

-2 points
Deleted by creator
permalink
report
reply
3 points

Uh? Is this a thing? And, if it is, what’s the use case? Just curious…

permalink
report
reply
-7 points
Deleted by creator
permalink
report
reply
12 points

Not necessarily. VPN can be used for that, but I’d be that more common use case is to access networks which are otherwise firewalled off from the public internet, like corporate LAN.

permalink
report
parent
reply
2 points

Its also a vital part of software defined networking

permalink
report
parent
reply
6 points
*

Right. That’s literally why it’s called a VPN - you’re connecting to a private network (LAN), virtually.

permalink
report
parent
reply
0 points
*
Deleted by creator
permalink
report
parent
reply
2 points

Not at all. A VPN can be used as a proxy but that’s not what they were intended for.

permalink
report
parent
reply
3 points
*

I do wonder about when VPNs started being used as proxies… Back when I was in school, we’d use HTTP proxies for HTTP, and SOCKS5 proxies for everything else. I remember I’d try searching for free web-based proxies too.

I guess VPNs being easier to configure and automatically applying to all apps (since they’re just networks that can have routing rules) helped.

permalink
report
parent
reply
3 points

I do wonder about when VPNs started being used as proxies…

About at the same time operators at the US noticed that they could profit from profiling users behaviour. In here that’s very much illegal thing to do and most use cases for VPN is to connect yourself into corporate network. VPNs are of course useful to protect you from MITM attacks at open wifi networks and things like that, but hiding your behavior from your ISP is very much an US thing.

permalink
report
parent
reply
-3 points
5 points
*

I don’t think this will actually work. If data looks like it’s coming from the client IP, the return packets will take the wrong route and go directly to the client instead of via the proxy/VPN.

permalink
report
parent
reply
13 points

While I think you could techincally spoof your originating IP at the VPN server to match your clients IP it wouldn’t do anything useful. That’s not how IP routing works. What you’re trying to achieve with a setup like that?

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.6K

    Posts

  • 77K

    Comments