Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Direct Connect into private network (Tunneling???)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
krko7365
n00b
n00b


Joined: 29 Mar 2003
Posts: 9

PostPosted: Mon Jun 02, 2003 8:01 am    Post subject: Direct Connect into private network (Tunneling???) Reply with quote

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
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Mon Jun 02, 2003 10:51 pm    Post subject: Reply with quote

If you can SSH in, you could try tunneling through it.
Back to top
View user's profile Send private message
krko7365
n00b
n00b


Joined: 29 Mar 2003
Posts: 9

PostPosted: Tue Jun 03, 2003 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Jun 03, 2003 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
krko7365
n00b
n00b


Joined: 29 Mar 2003
Posts: 9

PostPosted: Tue Jun 03, 2003 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Tue Jun 03, 2003 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
ghuug
Bodhisattva
Bodhisattva


Joined: 07 May 2003
Posts: 53
Location: West Africa

PostPosted: Tue Jun 03, 2003 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
krko7365
n00b
n00b


Joined: 29 Mar 2003
Posts: 9

PostPosted: Thu Jun 05, 2003 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Caffeine
Guru
Guru


Joined: 17 Jul 2002
Posts: 401
Location: Melbourne, Australia

PostPosted: Mon Jan 19, 2004 10:37 am    Post subject: Reply with quote

Did you get any further with this?
I found this article, but it didn't quite work...

http://www.tldp.org/HOWTO/Firewall-Piercing/x189.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum