• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

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 !
0
hintco
Asked:
hintco
  • 7
  • 7
  • 6
  • +1
1 Solution
 
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
WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

  • 7
  • 7
  • 6
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now