#?????? ????????,??????? ???????? ????????,? ????? ??????? ???
????,????? ??? ?????? ???? ?? OpenVPN????????
# Colo «route 172.16.100.0 255.255.255.0»
# Office «route 192.168.53.0 255.255.255.0»
# Sklad
push «route 192.168.0.0 255.255.255.0»
#?????????,??? ???????? ????? ? ??????????? IP-??????? ????????
client-config-dir ccd
#????????? ???????? ?????? -??????
route 10.10.200.0 255.255.255.0
# Office192.168.53.0 255.255.255.0
# Sklad192.168.0.0 255.255.255.0
#????????? ?????? ???????? ???? ????? (??????????? IP)??
????????? ??????? ????? ?????? ??????
client-to-client
#???????? TLS??????????? Server
#????????? tls-???? auth keys / ta.key 0
#??????? ?? ?????????
tls-timeout 120
#???????? ???????? ???????????
auth MD5
#???????? ???????? ???????
cipher BF-CBC
#????????? ?????????? ??????????? ?????? 10??????,???? ?
??????? 120???. ??? ??????,??????????? ???????????
keepalive 10120
#?????? ???????
comp-lzo
#?? ?????? ???????????? ? ?????? ????? ???????? OpenVPN
user nobody
group nobody
#?? ???????????? ????? ????? ????????? SIGUSR1??? ping-restart
persist-key
#?? ????????? ? ????????????? TUN TAP??????????,?????
????????? SIGUSR1??? ping-restarttun
#???????????? / var / log / openvpn / openvpn-status.log / var / log / openvpn / openvpn.log
#??????? ?????????? ??? ???????
verb 3
??????? ????? ? ??????????? ??? ????????. ? ????????/Etc / openvpn / ccd?? ??????? ??????? ???? office, sklad, mag1, mag2 (?????? -????????????????????????)?????? ???? ??????????:
officepush 10.10.200.2 10.10.200.1192.168.53.0 255.255.255.0push 10.10.200.3 10.10.200.1192.168.53.0 255.255.255.0push 10.10.200.4 10.10.200.1push 10.10.200.5 10.10.200.1
????? ??????????? ?????? ???????? ? ???????????????? ????????????? ??????????? ip??????,???? 10.10.200.1? ?????? ??????? ????? ??????? ? ???? ?? ?????????. ??? ????????? ??????? ?? ??????,??? ??? ? ???? ?????? ?? ?????? ??????????? ???? ?????.
?? ???? ????????? ??????? ?????????????,????????? OpenVPN:
colo> service openvpn start
???? ??? ?????????,?? ?????? ????????? ??????????? tun??????????:
colo> ifconfig tun0Link encap: UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00 -
00-00-00-00addr: 10.10....