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?
windows xp as vpn-server - no route
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Tue May 03, 2011 5:18 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: windows xp as vpn-server - no route
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.
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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 9
- Joined: Tue May 03, 2011 5:18 pm
Re: windows xp as vpn-server - no route
gateway is local ip of internet router - in my case is 192.168.0.1
-
- OpenVpn Newbie
- Posts: 9
- Joined: Tue May 03, 2011 5:18 pm
Re: windows xp as vpn-server - no route
i can ping vpn server local interface 192.168.0.101 and vpn interface 192.168.1.1. but no routing
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: windows xp as vpn-server - no route
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.
add to your clients a static route for the vpn subnet pointing to your
openvpn server(or add it to your router).
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"