View previous topic :: View next topic |
Author |
Message |
krko7365 n00b
Joined: 29 Mar 2003 Posts: 9
|
Posted: Mon Jun 02, 2003 8:01 am Post subject: Direct Connect into private network (Tunneling???) |
|
|
I wile ago I moved out of my student dorm and therefore lost the possibility of file sharing with my friends because of the dorm network being a private firewalled network. I decided to try to connect from outside, but all my VPN experiments failed somehow. What I want to do is to let a computer on the private network (with private ip-adress) connect to my box outside (which has a dynamic but public ip-adress) and to be able to route packets from outside, with ssh, back through the firewall and into the private network, translating the ip-adress into something that the private network understands, thus being able to connect to a Direct Connect hub and to all users having files I want to share, and then somehow get the files to download to my outside box.
How the hell is this gonna work ???
Any suggestions,anyone?
Thanks in advance / Chris
Ps. The firewall allows outbound ssh traffic, but is ofcourse a remote one to which I have no access. |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Mon Jun 02, 2003 10:51 pm Post subject: |
|
|
If you can SSH in, you could try tunneling through it. |
|
Back to top |
|
|
krko7365 n00b
Joined: 29 Mar 2003 Posts: 9
|
Posted: Tue Jun 03, 2003 8:35 am Post subject: |
|
|
I can SSH out of the private network, but not SSH into it, not because of the
firewall, but because all computers inside have private ip-adresses in the
range 10.x.x.x so my ISP wouldn't even let packets with destination
adresses like that leave outside the ISP network, which ofcourse, is not where
I want to go.
Is this an unsolvable problem?
Please help
/Chris |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Tue Jun 03, 2003 9:30 am Post subject: |
|
|
There isn't an SSH server for the network? For example at my work we're on a 10.x.x.x network, but there's an SSH server with an external IP, through which we can access the internal network from outside.
Or you could convince someone on the inside to start the SSH tunnel. |
|
Back to top |
|
|
krko7365 n00b
Joined: 29 Mar 2003 Posts: 9
|
Posted: Tue Jun 03, 2003 3:38 pm Post subject: |
|
|
spyderous wrote: | There isn't an SSH server for the network? For example at my work we're on a 10.x.x.x network, but there's an SSH server with an external IP, through which we can access the internal network from outside.
Or you could convince someone on the inside to start the SSH tunnel. |
Hi Spyderous!
Well there is no ssh server with a public ip but I can have my friend who is on the
private network to set up a tunnel from his side. But I wonder, can I use that tunnel to receive an ip-adress on his private network (range 10.x.x.x) and then use the tunnel as if I was on that net?
Thanks in advance
/Chris |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Tue Jun 03, 2003 3:58 pm Post subject: |
|
|
You probably won't be able to get an internal IP, but you will be able to go through your friend's computer using his IP. |
|
Back to top |
|
|
ghuug Bodhisattva
Joined: 07 May 2003 Posts: 53 Location: West Africa
|
Posted: Tue Jun 03, 2003 4:13 pm Post subject: |
|
|
one solution would be to setup pptpd on your machine and let someone from private network to connect to you. Then, they will get private address inside VPN tunel (like 192.168.0.1 <- you and 192.168.0.2 <- they). Note that IP addresses should differ from IPs they are using in their LAN.
Mikhail. |
|
Back to top |
|
|
krko7365 n00b
Joined: 29 Mar 2003 Posts: 9
|
Posted: Thu Jun 05, 2003 12:47 pm Post subject: |
|
|
Thanks!
This was helpful. I learned a great deal about VPN's by setting up
a PopTop-server at my linux box and connect a win xp - laptop to one of
the ethernet-interfaces with win xp - pptp.
But the problem is that this won't work in the situation with the
Yesterday we learned that the firewall on the borderprivate network.
of the 10.x.x.x private network doesn't permit outbound traffic on PPtP.
This indeed sucks.
Now I wonder if plain ssh (combined with ppp) can give me the same
functionality. Probably the ssh port (outbound) is not closed on the firewall. Would this give me an ip-adress as well on the server with public adress?
Is there a windows client that could be used or would I need a
linux client on the private 10.x.x.x network ???
/Chris |
|
Back to top |
|
|
Caffeine Guru
Joined: 17 Jul 2002 Posts: 401 Location: Melbourne, Australia
|
|
Back to top |
|
|
|