This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-wannat-ansible-deploy/deploy_env/group_vars/all.yml

55 lines
1.9 KiB
YAML

# You should modify these variables according to your network environment.
wannat_global:
common:
redis_server_ip: "192.168.44.72"
redis_server_port: 7002
redis_index: 0
bifang_db_username: "root"
bifang_db_password: "bifang!@#"
bifang_radius_db_name: "tsg-bifang"
vpn_client_ip_cidr: "10.10.120.0/24"
vpn_server_ip_local: "10.10.120.1"
vpn_client_ip_range: "10.10.120.2-254"
sentry_upload_key: "e8e446bb3bd8435c97f4c01770ca7025"
natgw:
device: "eth0"
wannat_ip: "192.168.40.161"
wannat_port: 3545
natgw_bind_port: 3544
layer2_gateway_device: "eth0"
location_compare_type: 0
country_location: "Set_your_geographic_location_here"
province_location: "Set_your_geographic_location_here"
ctrl_device_ip_addr: "192.168.40.134"
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: 5
max_item_number: 10000
lru_timeout: 60
config_src_type: "redis"
pptp:
mtu: 2000
dns1: "8.8.8.8"
dns2: "114.114.114.114"
radius:
shared_secret: "testing123"
server_ip: "192.168.44.72"
rpm_files:
natgw_rpm_file: "wannat_natgw-1.3.8.ed8832d-2.el7.x86_64.rpm"
wire_graft_rpm_file: "libwire_graft-1.3.7.b5d9a8a-2.el7.x86_64.rpm"
toroad_rpm_file: "toroad-1.2.4.d25d72a-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"