Coder Social home page Coder Social logo

neko-vpn's People

Contributors

m1k1o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

neko-vpn's Issues

Having trouble building

Hi! Currently my plan is to run a couple neko rooms and run one of them through neko-vpn, however I'm having trouble building the container. These are my current configs with some stuff redacted/changed for privacy/security, not really sure where I'm messing up. If you need anything else let me know. I also am not using traefik :)

Build Error

image

Docker Compose for nekovpn

nekovpn:
    build: "/mnt/storage/nekovpn/ovpn-nodejs"
    restart: "unless-stopped"
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=0
    cap_add:
      - net_admin
    dns:
     - 8.8.8.8
     - 8.8.4.4
    volumes:
      - "/dev/net:/dev/net:z"
      - "/mnt/storage/nekovpn/vpn:/vpn"
    command: "80 miami.ovpn"

and this is my file structure

/mnt/storage/nekovpn

image

/mnt/storage/nekovpn/vpn

image

/mnt/storage/nekovpn/.env

#
# vpn config
#
DEFAULT_VPN="miami.ovpn"

# View more at:
# https://github.com/m1k1o/ovpn-nodejs/tree/f62621f5440b717b3e3ae344ab2476f5571e1f87#group-regex
FILE_REGEXP=""

# View more at:
# https://github.com/m1k1o/ovpn-nodejs/tree/f62621f5440b717b3e3ae344ab2476f5571e1f87#group-regex
GROUP_REGEXP=""

#
# neko config
#
ADMIN_PASSWORD="admin"
USER_PASSWORD="neko"
DOWNLOAD_DIR="./downloads"
PORT_RANGE="57000-57010"
DEFAULT_SCREEN="1360x768@60"

#
# only if using docker-compose.yml
#
HTTP_PORT="80"

#
# only if using docker-compose.traefik.yml
#
TRAEFIK_NETWORK_NAME="traefik_default"
TRAEFIK_RULE="Host(`neko.example.com`)"
TRAEFIK_ENTRYPOINTS="web-secure"
TRAEFIK_CERTRESOLVER="letsencrypt"

/mnt/storage/nekovpn/vpn/miami.ovpn

client
dev tun
proto udp
remote <redacted> 54783

nobind
auth-user-pass .auth

resolv-retry infinite

auth SHA512
cipher AES-256-CBC
verb 2
mute-replay-warnings
remote-cert-tls server
persist-key
persist-tun

key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
<redacted>
-----END CERTIFICATE-----
</ca>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
<redacted>
-----END OpenVPN Static key V1-----
</tls-auth>

/mnt/storage/nekovpn/vpn/.auth

example-username
example-password

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.