2021-09-27 17:32:11 +08:00
|
|
|
# You should modify these variables according to your network environment.
|
|
|
|
|
|
2021-08-02 14:47:14 +08:00
|
|
|
wannat_global:
|
|
|
|
|
common:
|
2021-12-01 17:45:30 +08:00
|
|
|
redis_server_ip: "192.168.xx.xx"
|
2021-10-26 17:43:49 +08:00
|
|
|
redis_server_port: 7003
|
2021-05-24 18:21:51 +08:00
|
|
|
redis_index: 0
|
2021-12-01 17:45:30 +08:00
|
|
|
bifang_db_server_ip: "192.168.xx.yy"
|
2021-08-02 14:47:14 +08:00
|
|
|
bifang_db_username: "root"
|
2021-12-01 21:42:24 +08:00
|
|
|
bifang_db_password: "xxgceBifang!@#"
|
2021-08-02 14:47:14 +08:00
|
|
|
bifang_radius_db_name: "tsg-bifang"
|
2021-08-10 14:03:00 +08:00
|
|
|
vpn_client_ip_cidr: "10.10.120.0/24"
|
2021-11-23 10:22:41 +08:00
|
|
|
vpn_client_ip_mask: "10.10.120.0 255.255.255.0"
|
2021-08-10 14:03:00 +08:00
|
|
|
vpn_server_ip_local: "10.10.120.1"
|
|
|
|
|
vpn_client_ip_range: "10.10.120.2-254"
|
2021-11-03 18:41:38 +08:00
|
|
|
sentry_upload_url: "https://sentry.mesalab.cn/api/3/minidump/?sentry_key=xxxxx"
|
2021-08-02 14:47:14 +08:00
|
|
|
|
|
|
|
|
natgw:
|
2021-09-24 18:42:55 +08:00
|
|
|
device: "eth0"
|
2021-08-02 14:47:14 +08:00
|
|
|
natgw_bind_port: 3544
|
2021-11-02 17:05:05 +08:00
|
|
|
to_wangw_dst_first_port: 3545
|
2021-08-13 10:53:20 +08:00
|
|
|
layer2_gateway_device: "eth0"
|
|
|
|
|
location_compare_type: 0
|
2021-09-18 10:27:16 +08:00
|
|
|
country_location: "Set_your_geographic_location_here"
|
|
|
|
|
province_location: "Set_your_geographic_location_here"
|
2021-11-09 13:15:55 +08:00
|
|
|
ctrl_device_name: "eth0"
|
2021-05-24 18:21:51 +08:00
|
|
|
|
|
|
|
|
toroad:
|
2021-08-02 14:47:14 +08:00
|
|
|
http_server_listen_port: 8888
|
2021-08-10 15:38:03 +08:00
|
|
|
to_wangw_dst_first_port: 3545
|
|
|
|
|
to_wangw_listen_port: 3542
|
2021-08-02 14:47:14 +08:00
|
|
|
probe_pkt_timeout: 1
|
2021-12-01 19:13:08 +08:00
|
|
|
g_probe_retry_times: 2
|
|
|
|
|
max_item_number: 100000
|
2021-08-02 14:47:14 +08:00
|
|
|
lru_timeout: 60
|
2021-12-01 21:42:24 +08:00
|
|
|
|
|
|
|
|
pptp:
|
|
|
|
|
dns1: 8.8.8.8
|
|
|
|
|
dns2: 114.114.114.114
|
|
|
|
|
mtu: 2000
|
|
|
|
|
|
2021-11-23 10:22:41 +08:00
|
|
|
openvpn:
|
|
|
|
|
mtu: 1400
|
|
|
|
|
mss: 1360
|
2021-08-02 14:47:14 +08:00
|
|
|
|
|
|
|
|
radius:
|
|
|
|
|
shared_secret: "testing123"
|
2021-12-01 17:45:30 +08:00
|
|
|
server_ip: "192.168.xx.zz"
|
2021-12-01 21:42:24 +08:00
|
|
|
|
2021-05-24 18:21:51 +08:00
|
|
|
rpm_files:
|
2021-12-01 19:25:34 +08:00
|
|
|
wannat_common_rpm_file: "libwannat_common-1.0.1.8cc3bda-2.el7.x86_64.rpm"
|
2021-12-01 17:45:30 +08:00
|
|
|
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"
|
2021-08-02 14:47:14 +08:00
|
|
|
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"
|