60 lines
2.0 KiB
YAML
60 lines
2.0 KiB
YAML
# You should modify these variables according to your network environment.
|
|
|
|
wannat_global:
|
|
common:
|
|
redis_server_ip: "192.168.xx.xx"
|
|
redis_server_port: 7003
|
|
redis_index: 0
|
|
bifang_db_server_ip: "192.168.xx.yy"
|
|
bifang_db_username: "root"
|
|
bifang_db_password: "xxgceBifang!@#"
|
|
bifang_radius_db_name: "tsg-bifang"
|
|
vpn_client_ip_cidr: "10.10.120.0/24"
|
|
vpn_client_ip_mask: "10.10.120.0 255.255.255.0"
|
|
vpn_server_ip_local: "10.10.120.1"
|
|
vpn_client_ip_range: "10.10.120.2-254"
|
|
sentry_upload_url: "https://sentry.mesalab.cn/api/3/minidump/?sentry_key=xxxxx"
|
|
|
|
natgw:
|
|
device: "eth0"
|
|
natgw_bind_port: 3544
|
|
to_wangw_dst_first_port: 3545
|
|
layer2_gateway_device: "eth0"
|
|
location_compare_type: 0
|
|
country_location: "Set_your_geographic_location_here"
|
|
province_location: "Set_your_geographic_location_here"
|
|
ctrl_device_name: "eth0"
|
|
|
|
toroad:
|
|
http_server_listen_port: 8888
|
|
to_wangw_dst_first_port: 3545
|
|
to_wangw_listen_port: 3542
|
|
probe_pkt_timeout: 1
|
|
g_probe_retry_times: 2
|
|
max_item_number: 100000
|
|
lru_timeout: 60
|
|
|
|
pptp:
|
|
dns1: 8.8.8.8
|
|
dns2: 114.114.114.114
|
|
mtu: 2000
|
|
|
|
openvpn:
|
|
mtu: 1400
|
|
mss: 1360
|
|
|
|
radius:
|
|
shared_secret: "testing123"
|
|
server_ip: "192.168.xx.zz"
|
|
|
|
rpm_files:
|
|
wannat_common_rpm_file: "libwannat_common-1.0.1.8cc3bda-2.el7.x86_64.rpm"
|
|
natgw_rpm_file: "wannat_natgw-1.5.1.3d915d4-2.el7.x86_64.rpm"
|
|
wire_graft_rpm_file: "libwire_graft-1.5.2.36b072a-2.el7.x86_64.rpm"
|
|
toroad_rpm_file: "toroad-1.4.0.1c1f04b-2.el7.x86_64.rpm"
|
|
ppp_rpm_file: "ppp-2.4.5-34.el7_7.x86_64.rpm"
|
|
pptpd_rpm_file: "pptpd-1.4.0-2.el7.x86_64.rpm"
|
|
openvpn_rpm_file: "openvpn-2.4.11-1.el7.x86_64.rpm"
|
|
radius_client_rpm_file: "radiusclient-ng-0.5.6-9.el7.x86_64.rpm"
|
|
easy_rsa_rpm_file: "easy-rsa-3.0.8-1.el7.noarch.rpm"
|