Git Product home page Git Product logo

Comments (5)

flikites avatar flikites commented on May 23, 2024 1

from selfhosted-gateway.

thebalaa avatar thebalaa commented on May 23, 2024

Hey @flikites thanks for the note. What is it about SoftetherVPN that appeals to you over WireGuard?

from selfhosted-gateway.

flikites avatar flikites commented on May 23, 2024

from selfhosted-gateway.

thebalaa avatar thebalaa commented on May 23, 2024

@flikites SoftEtherVPN looks cool!

A good starting point would be to manually configure a SoftEtherVPN between a VPS and a local docker container.

Give the gateway side of the tunnel an IP address of 10.0.0.1
Give the container side of the tunnel an IP address of 10.0.0.2 (doesn't really matter what the IPs are)

From there I would install nginx on the VPS (without Docker) then modify the stream section nginx.conf from this repo as such:

    stream {  
        map $ssl_preread_server_name $targetBackend {
           myapp.mydomain.com 10.0.0.2:443;
        } 

From there it would be a matter of moving the gateway side of the tunnel configuration to happen on bootup (in the link-entrypoint.sh) of the gateway link container.

If you can get it close to working submit a PR and we'll merge it once we get it working.

Thanks again for the suggestion.

from selfhosted-gateway.

thebalaa avatar thebalaa commented on May 23, 2024

Looking forward to seeing it! Let me know if you need any additional help along the way.

from selfhosted-gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.