Category : openvpn

This is my Dockerfile: FROM alpine:edge COPY openvpn.conf /etc/openvpn/ RUN apk update RUN mkdir /run/openrc RUN touch /run/openrc/softlevel RUN apk add –no-cache bash openssl openrc WORKDIR /etc/openvn RUN apk add openvpn CMD ["openvpn", "–script-security", "2", "–config", "/etc/openvpn/openvpn.conf"] I just want to have a openvpnin alpine based container. I have landed into a problem. What I ..

Read more

I’m trying to create a symetric VPN server with openvpn in a docker-compose. Here it is: — version: "3" services: vpn: image: whitebox/vpn:0.2 networks: – standard tty: true ports: – "1194:1194/udp" volumes: – ./server:/home/server:ro – ./static.key:/home/static.key:ro cap_add: – NET_ADMIN – SYS_MODULE restart: always networks: standard: ipv4_address: "10.10.0.254" web: image: tutum/apache-php volumes: – ./web:/var/www/html:ro – ./client:/home/client:ro ..

Read more

I am using kylemanna/openvpn and ran with a compose which looks like this: version: ‘2’ services: openvpn: cap_add: – NET_ADMIN image: kylemanna/openvpn container_name: openvpn ports: – "3000:1194/udp" restart: always volumes: – /volume1/docker/openvpn/:/etc/openvpn My openvpn.conf: server 192.168.255.0 255.255.255.0 verb 3 key /etc/openvpn/pki/private/baushaus.synology.me.key ca /etc/openvpn/pki/ca.crt cert /etc/openvpn/pki/issued/baushaus.synology.me.crt dh /etc/openvpn/pki/dh.pem tls-auth /etc/openvpn/pki/ta.key key-direction 0 keepalive 10 60 persist-key ..

Read more

I am trying to create a docker image which has a python script that connects to an API through VPN using openVPN, however, I cannot seem to get openVPN to be working. I my docker file I have # Install openVPN and get confi files RUN mkdir /config ADD ./config/. /config RUN apt-get install -y ..

Read more