Comments (3)
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.
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.
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)
- Connecting external client(s) such that it is inside the internal network and can access all machines
- Unable to connect to VPN server in docker network HOT 2
- Unable to connect on VPN server with google 2FA
- Split Tunnel Not working HOT 1
- Support setting --tls-version-min?
- Failed to generate client certificate again HOT 1
- Why does CPU not work properly in J4125? HOT 1
- Is it possible to change the server's subnet by editing the `openvpn.conf`? HOT 2
- 网关无法访问
- Certificate failure HOT 4
- Problem with connection tracking
- Aarch64 base image is not available anymore
- Remove from group
- route everything through the VPN *except* for localhost HOT 1
- Connection from router to openvpn
- DNS leaks
- Issues with Compression Settings HOT 1
- Get the good IP in local machine
- Project status HOT 1
- OpenVpn container not starting and giving Iptables errors in Centos 8 host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-openvpn.