Coder Social home page Coder Social logo

Comments (3)

vielmetti avatar vielmetti commented on August 15, 2024

I think I can do this with a series of

[-p PUSH ...]

commands, but I didn't see an example in the docs of how this is used in any detail. However, when I invoked opvn_genconfig with

-p "route 52.52.52.52 255.255.255.255"

it looks like it did the right thing, and multiple invocations of -p add multiple lines to the server config.

from docker-openvpn.

kylemanna avatar kylemanna commented on August 15, 2024

If it's a split tunnel, then I assume you're avoiding routing on to the Internet, correct?

Could you use a VPN with a private subnet and send the /24 (or whatever) on to the VPN for private routing? Use ovpn_genconfig -d to make the subnet private.

Then you'll have a collection of /32s that are connected to larger subnet (i.e. /24) and routed by the openvpn daemon once the packets get there.

I use this for private networks that don't need to route to the Internet over the VPN.

from docker-openvpn.

vielmetti avatar vielmetti commented on August 15, 2024

Thanks for all the help. We decided to back off on the split tunnel config and just run this as a full tunnel - hope to revisit this when the VPN/VPC configuration is less complex.

This got written in the process:

http://vielmetti.github.io/post/2015/2015-12-04-split-tunnels-considered-harmful/

for what it's worth. I'll close the issue.

from docker-openvpn.

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.