herbary
hi,
i have office net with ip pull 192.168.0.100-192.168.0.250.
i need vpn-canal to share disk resource, printers of office net for remote clients.
on mashine windows xp (192.168.0.101-local) (192.168.1.1-vpn) i had set vpn-server with conf:
------------------------
dev tun
ifconfig 192.168.1.1 192.168.1.2
route 192.168.0.0 255.255.255.0 192.168.0.101
route-delay 2
secret static.key
------------------------
had change ipenablerouter to 1
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
on client (192.168.1.2-vpn) config:
----------------------------
remote 94.100.93.155
dev tun
ifconfig 192.168.1.2 192.168.1.1
route 192.168.0.0 255.255.255.0 192.168.1.1
secret static.key
----------------------------
as result i see only 192.168.0.101-mashine, no routing. what is wrong?
maikcat
hi there,
from server remove this
>route 192.168.0.0 255.255.255.0 192.168.0.101
also which gateway your pcs on server side have?
Michael.
herbary
gateway is local ip of internet router - in my case is 192.168.0.1
herbary
i can ping vpn server local interface 192.168.0.101 and vpn interface 192.168.1.1. but no routing
maikcat
hi there,
add to your clients a static route for the vpn subnet pointing to your
openvpn server(or add it to your router).
Michael.