Hello everybody!
I read lots of post before about ip forwarding, iptables rules, vpn routes.
But I wasn't able to solve my problem.
I can successfully ping the other hosts in the servers network from the server itself.
So it might not be a firewall problem.
But not from my vpn client. I am not able to reach any other host in the vpn servers network.
Maybe someone can kindly figure out what went wrong in my configuration.
So here it is (Debian Wheezy):
server.conf
push "route 192.168.1.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
port 443
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh4096.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
client.conf
client
dev tun
proto tcp
remote 192.168.1.60 443
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
# route -n
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
cat /proc/sys/net/ipv4/ip_forward
1
Thanks for your support
fraser