make[3]: Entering directory '/root/ocserv/libopts'
CC libopts_a-libopts.o
In file included from libopts.c:24:0:
enum.c: In function ‘enum_err’:
enum.c:112:13: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
fprintf(option_usage_fp, ENUM_ERR_LINE, *(paz_names++));
^
enum.c:135:9: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
sprintf(zFmt, ENUM_ERR_WIDTH, (int)max_len);
^
./configure --enable-local-libopts
make[2]: Entering directory '/root/ocserv/src'
: ocpasswd-args.def
: ocserv-args.def
protoc-c --c_out=. --proto_path=. ipc.proto
/bin/bash: protoc-c: command not found
Makefile:1779: recipe for target 'ipc.pb-c.c' failed
#同一个用户最多同时登陆数
max-same-clients = 10
# Dead peer detection in seconds.
dpd = 900
# Dead peer detection for mobile clients. The needs to
# be much higher to prevent such clients being awaken too
# often by the DPD messages, and save battery.
# (clients that send the X-AnyConnect-Identifier-DeviceType)
mobile-dpd = 1800
output-buffer = 23000
try-mtu-discovery = true
# The time (in seconds) that a client is allowed to stay idle (no traffic)
# before being disconnected. Unset to disable.
idle-timeout = 3600
# The time (in seconds) that a mobile client is allowed to stay idle (no
# traffic) before being disconnected. Unset to disable.
mobile-idle-timeout = 3600
m.voachinese.com. 1185 IN CNAME m.voanews.com.edgesuite.net.
m.voanews.com.edgesuite.net. 19185 IN CNAME a1250.b.akamai.net.
a1250.b.akamai.net. 30 IN A 124.40.42.57
a1250.b.akamai.net. 30 IN A 124.40.42.62
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 10.33.33.250 0.0.0.0 UG 0 0 0 wlp3s0
10.33.32.0 0.0.0.0 255.255.254.0 U 0 0 0 wlp3s0
loopback 0.0.0.0 255.0.0.0 U 0 0 0 lo
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0
0.0.0.0 10.33.33.250 0.0.0.0 UG 0 0 0 wlp3s0
10.33.32.0 0.0.0.0 255.255.254.0 U 0 0 0 wlp3s0
104.236.154.90 10.33.33.250 255.255.255.255 UGH 0 0 0 wlp3s0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.101.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
dig @VPN_SERVER_IP www.sina.com.cn
; <<>> DiG 9.10.2-P4 <<>> @VPN_SERVER_IP www.sina.com.cn
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
root@mynode:/etc# dig @VPN_SERVER_IP www.sina.com.cn
......
;; ANSWER SECTION:
www.sina.com.cn. 1728 IN CNAME jupiter.sina.com.cn.
jupiter.sina.com.cn. 2767 IN CNAME ara.sina.com.cn.
ara.sina.com.cn. 1 IN A 58.63.236.248
ara.sina.com.cn. 1 IN A 121.14.1.189
ara.sina.com.cn. 1 IN A 121.14.1.190
;; AUTHORITY SECTION:
sina.com.cn. 73563 IN NS ns4.sina.com.cn.
sina.com.cn. 73563 IN NS ns1.sina.com.cn.
sina.com.cn. 73563 IN NS ns3.sina.com.cn.
sina.com.cn. 73563 IN NS ns2.sina.com.cn.
......