Routing through VPN connection

Hello networkers,

I have real problem here ! ..

i need to gain access to a remote windows 7 computer from linux ubuntu computer.

the problem that i don't have access to that remote windows 7 computer, but a local windows 7 are have through a vpn connection to the remote computer.

remote netowrk are : 10.10.10.0/24
local network are  : 192.168.1.0/24

remote windows 7 ip : 10.10.10.5
local windows 7 ips : 192.168.1.10 , and 10.10.10.10 after a vpn connection to remote computer
local ubuntu ip :     192.168.1.5

i need to gain full access for my ubuntu computer to the remote computer 10.10.10.5 and all that network

i have privileges to the three computers,

how can i setup all that withou using routers..

thank you !
LVL 1
hintcoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

rysicCommented:
You must configure correct default gateway - address depends on your VPN configuration.
0
mlongohCommented:
How is the VPN connection established?  Are you establishing the connection from your ubuntu computer or from another computer or from a networking device?
0
hintcoAuthor Commented:
vpn connection established from windows 7 computer to the remote windows 7 computer,
and the ubuntu computer in the same local windows 7 computer. !
0
Check Out How Miercom Evaluates Wi-Fi Security!

It's not just about Wi-Fi connectivity anymore. A wireless security breach can cost your business large amounts of time, trouble, and expense. Plus, hear first-hand from Miercom on how WatchGuard's Wi-Fi security stacks up against the competition plus a LIVE demo!

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
mlongohCommented:
Ahhh, OK.  So you need the Windows 7 computer to act like a router for the Ubuntu computer.
0
mlongohCommented:
ICS may or may not work depending on the VPN client, so it would be the first thing I would try.
0
KOTiSCommented:
@mlongoh we must assume that hintco is using the Microsoft VPN client that comes with Windows 7 to create the VPN connection. That connection may be shared with ICS.
0
mlongohCommented:
If you find that ICS conflicts with the VPN client's operation (and doesn't do what you need), you can look at this:
http://virtualrouter.codeplex.com/

I haven't played with it, so I don't know if it's locked into a wireless configuration or if you can use it to route between the VPN and the local LAN segment.  Additionally, the VPN client may make routing between the local LAN and the VPN segment impossible (Cisco's can be a real pain).
0
mlongohCommented:
KOTisS makes a good point.  What is the VPN client?
0
hintcoAuthor Commented:
1- VPN Client is for for Microsfot Windows 7
2- ?I need not do use internert connection sharing.
3- i need the local ubuntu to be a part of the remote network shares.. access other computers .. etc !.


0
KOTiSCommented:
If your VPN Client is the one that comes with Windows 7 the you may use ICS (Internet Connection Sharing)

Type "Network Connections" in start -> search, click on "View Network Connections", right click on your VPN connection and click on Share...
0
hintcoAuthor Commented:
again i needn't internet access , so i don't need the ICS .. i need to see network shares .. doing ping .. its ..
i need to be a part of the remote network .
0
KOTiSCommented:
ICS is not only for internet - it's about connection sharing. The name is misleading...
0
mlongohCommented:
Expanding on KOTiS explanation - ICS was generally used to allow a computer connected to a LAN and to the Internet (via another connection like dial-up) to share the Internet access with the other nodes on the LAN.  It essentially acts as a NAT router between the two connections.

It can be used to connect any two of the computer's network connections.  So if a computer has two LAN connections or a wireless and a LAN, ICS can NAT route between them.  And it sounds like what you want is the Windows 7 machine to route between your local network and the VPN connected network.

However, some VPN clients interfere with the operation of ICS (or ICS can interfere with some VPN clients), so it may or may not work.  Only testing will tell.

If it doesn't work, then you should try a variety of different open source (free) windows router solutions.  Untangle for example http://www.untangle.com/Product-Overview might just do the trick.

0
hintcoAuthor Commented:
??
0
mlongohCommented:
We are under the impression that you have a Windows 7 machine that is establishing and using the VPN connection, and you have a device on the same network as the Windows 7 machine that needs to access the network on the other end of the VPN connection.  So you need the Windows 7 machine to act like a router between the VPN network and its local network.  The first thing to try is enabling ICS on the Windows 7 machine and configure it to "share" the VPN network with the local network.  Once done, you should be able to configure the ubuntu machine to use the Windows 7 machine as it's default router and it then should be able to access the remote network through the VPN.

Ubuntu --> WIndows 7 with ICS enabled ---> VPN Tunnel --> Remote Network
0
hintcoAuthor Commented:
I've requested that this question be deleted for the following reason:

not useful answers
0
KOTiSCommented:
The answer to use ICS to share the connection is correct if the original question is correct. If there is something more we are not aware of, then this is not our fault
0
KOTiSCommented:
Correct answer is 37373853 above. I'm posting this using my phone and I'm unable to insert the link you want. Please accept above answer as correct.

0
hintcoAuthor Commented:
thats impossible using ICS ..
i have tested it and tried many configrations
0
KOTiSCommented:
What is the reason you are telling that this is impossible with ICS? I already shared a VPN connection over 3G through my laptop's WiFi adapter to my iPhone, using ICS only. You can do whatever you need with ICS. Please check if you have another router that is assigning IP's on the same LAN or even better try to connect the two systems with crossover cable. Maybe you have to add a static route on you Linux PC to reroute all your VPN traffic to ICS.
0
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
Routers

From novice to tech pro — start learning today.