Server eth0: 192.168.10.4
Server tun0: 192.168.3.1
Questa è la configurazione del server:
Codice: Seleziona tutto
port 443
port-share 127.0.0.1 8443
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys//ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
management 127.0.0.1 7505
script-security 2
server 192.168.3.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn_status.log
log /var/log/openvpn.log
verb 2
tmp-dir /tmp
Codice: Seleziona tutto
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gw.linux.pg 0.0.0.0 UG 202 0 0 eth0
192.168.3.0 192.168.3.2 255.255.255.0 UG 0 0 0 tun0
192.168.3.2 * 255.255.255.255 UH 0 0 0 tun0
192.168.10.0 * 255.255.255.0 U 202 0 0 eth0
Il problema viene dal fatto che dalla rete del server (192.168.10.0) non riesco a fare il ping del client.
Che mi sono perso?