8000 add server.conf · mikephp/basic_data_struct@e813e56 · GitHub
[go: up one dir, main page]

Skip to content

Commit e813e56

Browse files
committed
add server.conf
1 parent 0beba0f commit e813e56

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

example/openvpn/server.conf

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
port 1194
2+
proto udp
3+
dev tun
4+
ca /etc/openvpn/easy-rsa-2.2.0/easy-rsa/2.0/keys/ca.crt
5+
cert /etc/openvpn/easy-rsa-2.2.0/easy-rsa/2.0/keys/OpenVPN_Server.crt
6+
key /etc/openvpn/easy-rsa-2.2.0/easy-rsa/2.0/keys/OpenVPN_Server.key
7+
dh /etc/openvpn/easy-rsa-2.2.0/easy-rsa/2.0/keys/dh1024.pem
8+
server 10.1.1.0 255.255.255.0
9+
;push "redirect-gateway def1 bypass-dhcp"
10+
push "dhcp-option DNS 8.8.8.8"
11+
push "dhcp-option DNS 114.114.114.114"
12+
log /var/log/openvpn.log
13+
keepalive 5 120
14+
verb 3
15+
client-to-client
16+
comp-lzo
17+
persist-key
18+
persist-tun
19+
status /var/log/ovpn.status
20+
21+
push "route 173.252.120 255.255.255.0"
22+
push "route 199.59.148.0 255.255.255.0"
23+
push "route 199.59.149.0 255.255.255.0"
24+
push "route 199.59.150.0 255.255.255.0"
25+
push "route 74.125.28.0 255.255.255.0"
26+
27+
;push "route 10.0.0.0 255.0.0.0"
28+
push "route 202.115.112.0 255.255.240.0"
29+
push "route 58.195.87.32 255.255.255.240 "
30+
;push "route 172.20.70.0 255.255.255.0 "
31+
;push "route 172.21.70.0 255.255.255.0 "
32+
;push "route 192.168.0.0 255.255.0.0 "
33+
push "route 202.112.14.184 255.255.255.255 "
34+
push "route 219.243.221.8 255.255.255.248 "
35+
push "route 222.197.0.0 255.255.192.0 "
36+
push "route 222.197.48.0 255.255.255.0 "
37+
38+
####################新增图书资源路由#################
39+
push "route 23.0.0.0 255.0.0.0 "
40+
push "route 58.58.33.0 255.255.255.0 "
41+
push "route 58.68.142.0 255.255.255.0 "
42+
push "route 58.83.194.0 255.255.255.0 "
43+
push "route 60.217.232.0 255.255.255.0 "
44+
push "route 61.158.249.0 255.255.255.0 "
45+
push "route 72.247.218.0 255.255.255.0 "
46+
push "route 96.7.97.0 255.255.255.0 "
47+
push "route 103.244.234.0 255.255.255.0 "
48+
push "route 111.161.26.0 255.255.255.0 "
49+
push "route 111.67.202.0 255.255.255.0 "
50+
push "route 114.80.172.0 255.255.255.0 "
51+
push "route 118.26.203.0 255.255.255.0 "
52+
push "route 121.194.12.0 255.255.255.0 "
53+
push "route 121.194.4.0 255.255.255.0 "
54+
push "route 140.234.252.0 255.255.255.0 "
55+
push "route 140.234.254.0 255.255.255.0 "
56+
push "route 162.105.138.0 255.255.255.0 "
57+
push "route 165.215.204.0 255.255.255.0 "
58+
push "route 168.160.184.0 255.255.255.0 "
59+
push "route 172.229.129.0 255.255.255.0 "
60+
push "route 180.150.163.0 255.255.255.0 "
61+
push "route 184.26.254.0 255.255.255.0 "
62+
push "route 184.27.23.0 255.255.255.0 "
63+
push "route 184.85.113.0 255.255.255.0 "
64+
push "route 193.194.158.0 255.255.255.0 "
65+
push "route 198.144.96.0 255.255.255.0 "
66+
push "route 211.151.247.0 255.255.255.0 "
67+
push "route 220.181.112.0 255.255.255.0 "
68+
push "route 221.192.135.0 255.255.255.0 "
69+
70+
71+
72+

0 commit comments

Comments
 (0)
0