forked from ftao/vpn-deploy-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proxy-frontend.yml
38 lines (32 loc) · 1.05 KB
/
proxy-frontend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- hosts: proxy-frontend
roles:
- common
- pptp
#setup auth via radius
- role: ppp-radiusclient
when: pptp_use_radius
device_type: pptp
radius_servers: ${pptp_radius_servers}
- role: ss-client
name: "redir"
port: "{{ proxy_frontend_redir_port }}"
mode: "redir"
server_host: "{{ proxy_frontend_ss_server_host }}"
server_port: "{{ proxy_frontend_ss_server_port }}"
password: "{{ proxy_frontend_ss_server_password }}"
- role: ss-client
name: "dns_tunnel"
port: "{{ proxy_frontend_dns_tunnel_port }}"
mode: "tunnel"
tunnel_target: "{{ proxy_frontend_upstream_dns_server }}"
enable_udp: true
server_host: "{{ proxy_frontend_ss_server_host }}"
server_port: "{{ proxy_frontend_ss_server_port }}"
password: "{{ proxy_frontend_ss_server_password }}"
- role: redir
tcp_redir_port: "{{ proxy_frontend_redir_port }}"
dns_redir_port: 53
- role: dns
default_resolver: "127.0.0.1#{{ proxy_frontend_dns_tunnel_port }}"
- nat