Vpn And Access Problem

moon

New member
Joined
Jan 2, 2013
Messages
1
Location
Poland
Hi,

I've installed and configured Windows 2008 R2 Web Edition. All works good, but I need to set VPN.

A server is on remote datacenter and I dont have phisical access to it. It have one network card with ipv4 configured address.
Now I must install VPN as client to connect to remote server. If in ipv4 details protocol I've uncheck default route, then all works ok, but outgoing traffic are sent to my ip gateway not vpn address.
When I've check default route in vpn protocol details then I will be disconnected.

So my question is.. How I can set up the routing table to access a server from static ip and vpn ip ?

I've tried these command:

route add VPN_NETWORK mask VPN_MASK VPN_GW
route add NET_NETWORK mask NET_MASK NET_GW
route add 0.0.0.0 mask 0.0.0.0 VPN_GW

but it does not work. I will be disconected and access via net_ip will be unaviable.

VPN is configured as clinet and IP (random) is taken from remote server).
 
Hi. You aren't really precise. If I understand correctly you are trying to connect one pc to that server via VPN. Are you using Windows's integrated VPN or a specific software (like Cisco VPN client)? Anyway by default the VPN connection is used to connect to a specific network AND the internet (all other traffic) should be redirected to your "normal" network and not the VPN. Provide more details because I can't understand what is the "NET_NETWORK"...
 
Back
Top