vpn-p2p/nodejs/conf/base.js
2020-08-26 15:41:37 -04:00

30 lines
783 B
JavaScript

'use strict';
module.exports = {
userModel: 'ldap', // pam, redis, ldap
ldap: {
url: 'ldap://192.168.1.55:389',
bindDN: 'cn=ldapclient service,ou=people,dc=theta42,dc=com',
bindPassword: '__IN SRECREST FILE__',
userBase: 'ou=people,dc=theta42,dc=com',
groupBase: 'ou=groups,dc=theta42,dc=com',
userFilter: '(objectClass=posixAccount)',
userNameAttribute: 'uid'
},
p2p: {
listenPort: 7575
},
proxmox: {
host: "__IN SRECREST FILE__",//this can be an ip or FQDN
authInfo: {
username: "__IN SRECREST FILE__",//this must include the username@realm
apiToken: "__IN SRECREST FILE__"//In the future, i would like this to be encrypted
},
},
vpnSite: {
id: "__IN SRECREST FILE__",
name: "__IN SRECREST FILE__",
admin: "__IN SRECREST FILE__"
}
};