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.

  • r00ty@kbin.life
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    So there’s three problems you are very likely to encounter.

    1. Most providers now almost certainly filter their egress for netblocks under their control to prevent ip spoofing. So it’s likely the packets would never make it out at all.

    2: if it does work the return path would be over the normal Internet route and not via the vpn. Only the sent packets would go via the vpn host.

    3: if the client is behind nat the router will not recognise the response packets as belonging to an open connection and will drop them.

    I’m really not sure what your intention is.