2 gateways to the internet and a problem.

Hi all,
in our network there are 2 gateways to the internet. One is through the proxy and the other is through the router. Proxy do all kind of filtering and router is for remote management(vpn server) and for some special users.

the ip conf. is :proxy: 192.168.0.2  router: 192.168.0.3  255.255.255.0
when a remote user makes a vpn connection he gets 192.168.1.x 255.255.255.0 type of ip. So he is not in the same subnet with our lan. If the gateway of a lan server/computer is the router everything is fine since router knows the route from 192.168.0.x to 192.168.1.x but if the gateway is teh proxy (which most users have) i cant connect to these computers because proxy doesnt know how to route it back to the vpn client.

In the proxy application i added a static route telling it to send every request that is targetted for 192.168.1.x to the router but it doesnt seem to be working.

What should i do here? Here is an example scenerio: i do the vpn connection and get the ip 192.168.1.1/24 and trying to connect a server whose ip is 192.168.0.10/24 with gateway pointing the proxy which is 192.168.0.2.

And is there a way to see the static routes defined on the computer?
thanks in advance
-shane
e106199Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

heathcote123Commented:
How about adding the static tour to 192.168.1.0/255.255.255.0 to the server @ 192.168.0.10 (and other servers that need to be accesible through the VPN)

eg

route add -p 192.168.1.0 mask 255.255.255.0 192.168.0.3

You can view the routing table with 'route print'

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
e106199Author Commented:
Hi,
this is an option but its not only the servers i m trying to route. Its all computers for remote control or file sharing.
That is why i tried doing it on the proxy side.
thank you
heathcote123Commented:
If you can't fix the proxy, you dont really have a choice :(

You can use DHCP to add the route to client computers - so its no biggie.
heathcote123Commented:
or stick it in a logon script
e106199Author Commented:
how do you use dhcp to add the route?
thanks
-shane
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.