hi there,
>3)setup routing on your router (server side) so must know where to route packages destined for your vpn
let me explain...
example
your lan (192.168.1.0/24)
openvpn server lan ip 192.168.1.10
router ip 192.168.1.1
openvpn virtual (tun) interface 10.0.0.1/24
all pcs in your lan have gateway the router (192.168.1.1)
one pc from internet connects into your vpn server and gets 10.0.0.10 ip and a static
route for network 192.168.1.0/24
assume that one pc inside your lan has 192.168.1.100 ip and gateway (as mentioned before)
192.168.1.1..
if it tries to ping the 10.0.0.x subnet the packets will go:
to default gateway (router) -- and then to the internet..
this because your internet router has in its routing table an entry reffering
to the local lan (192.168.1.0/24 net) and a default gateway which is your ISP..
to access the vpn ips must know that to access the vpn subnet must forward
packets to your vpn server (192.168.1.10) and NOT the internet...
is it clear now?
Michael