mopkob1/openvpntelegrambot

How to correctly fill in ".env"?

Closed this issue · 1 comments

I don't understand what to enter in ".env"

VPN_DOMAIN= ip my server?
VPN_PORT= port my server?
API_PORT=???
VPN_NET=???

Hi, @ReKuRsKeR

Bellow cut of .env-file of nofebruaryBot (demobot):

VPN_DOMAIN=pp1.my.postcat.de  # Domain or ip-address by which your VPN server will be available
VPN_PORT=3295                                 # UDP port by which your VPN server will be available
API_PORT=9031                                  # TCP port by which your HTTP-api of your bot will be available
VPN_NET=192.168.96.0/20               # The address space of your VPN network in the NETWORK/MASK format