ventz / docker-openvpn Goto Github PK
View Code? Open in Web Editor NEWSuper Small (12.2MB) full OpenVPN Docker container
Super Small (12.2MB) full OpenVPN Docker container
The container isn't actually expecting anything in /data, in fact it specifically is not looking at /data but /etc/openvpn. /data is expected on the docker host, and only if you use the -v
option exactly as it is at the bottom of the README. The existing wording could be confusing to people trying to map their OpenVPN configuration to /data inside the container instead of /etc/openvpn where it should be.
I appreciate your contribution, and would like to use it in my work. However, I do not find any license here, could you please clarify a bit on this topic?
I'm running this under Podman on a Fedora31 VM (Container wrapped by generated service file). I get odd behaviour that the container's net.ipv4.ip_forward
flag resets to 0 after the hosting VM reboots.
I tried messing with the /etc/sysctl
stuff (no apparent effect) and also rebuilding the container with the line in the Dockerfile with this setting uncommented (Whines about a read-only filesystem). I'm neither a docker, nor Alpine expert, though (obviously).
The only way I found around the issue was to either modify /start-vpn.sh
to explicitly set the flag prior to OpenVPN. Or alternatively I can add an ExecStartPost
clause in the hosting VM's service to force-in the flag from the outside.
You might want to change EXPOSE 1194
in the docker file to EXPOSE 1194/udp
.
That should be all that is needed.
is there any console output?
i configure my server but there are no logs for this container
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.