Поставил Manriva 2009
Поднял на ней OpenVPN
Поднял впн сервер на своей тачке дома и у друга(Та машинка на которой стоит Мандрива).
Он ко мне подключается, я к нему не могу оО.
Конфиг Сервера Мандрива
Код: ;local a.b.c.d
port 2000
# TCP or UDP server?
;proto tcp
proto udp
;dev tap
dev tun0
persist-tun
;dev-node MyTap
tls-server
ca /etc/openvpn/easy-rsa/1.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/1.0/keys/server.crt
key /etc/openvpn/easy-rsa/1.0/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/1.0/keys/dh1024.pem
server 172.0.5.1 255.255.255.0
push "route 192.168.74.0 255.255.255.0"
push "ip-win32 ipapi"
#ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge
push "route 192.168.0.0 255.255.255.0"
push "route 192.168.2.0 255.255.255.0"
push "route 192.168.3.0 255.255.255.0"
client-config-dir ccd
;route 10.9.0.0 255.255.255.252
push "route 172.0.5.1 255.255.255.0"
push "route 172.21.1.0 255.255.255.0"
# ifconfig-push 10.9.0.1 10.9.0.2
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"
client-to-client
;duplicate-cn
keepalive 10 120
#tls-auth ta.key 0 # This file is secret
;cipher BF-CBC # Blowfish (default)
;cipher AES-128-CBC # AES
;cipher DES-EDE3-CBC # Triple-DES
comp-lzo
;max-clients 100
user root
group root
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
log-append openvpn.log
verb 4
;mute 20
Поднял на ней OpenVPN
Поднял впн сервер на своей тачке дома и у друга(Та машинка на которой стоит Мандрива).
Он ко мне подключается, я к нему не могу оО.
Конфиг Сервера Мандрива
Код: ;local a.b.c.d
port 2000
# TCP or UDP server?
;proto tcp
proto udp
;dev tap
dev tun0
persist-tun
;dev-node MyTap
tls-server
ca /etc/openvpn/easy-rsa/1.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/1.0/keys/server.crt
key /etc/openvpn/easy-rsa/1.0/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/1.0/keys/dh1024.pem
server 172.0.5.1 255.255.255.0
push "route 192.168.74.0 255.255.255.0"
push "ip-win32 ipapi"
#ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge
push "route 192.168.0.0 255.255.255.0"
push "route 192.168.2.0 255.255.255.0"
push "route 192.168.3.0 255.255.255.0"
client-config-dir ccd
;route 10.9.0.0 255.255.255.252
push "route 172.0.5.1 255.255.255.0"
push "route 172.21.1.0 255.255.255.0"
# ifconfig-push 10.9.0.1 10.9.0.2
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"
client-to-client
;duplicate-cn
keepalive 10 120
#tls-auth ta.key 0 # This file is secret
;cipher BF-CBC # Blowfish (default)
;cipher AES-128-CBC # AES
;cipher DES-EDE3-CBC # Triple-DES
comp-lzo
;max-clients 100
user root
group root
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
log-append openvpn.log
verb 4
;mute 20