user

Pete's Log: I love it when a plan comes together

Entry #1575, Fri, May 09, 2008, 18:32 CEST (Coding, Hacking, & CS stuff)
(posted when I was 29 years old.)

The situation: in a corporate network, 10.x.y.z IP, only access to outside world is an HTTP Proxy. This HTTP Proxy is friendly enough to allow generic connects.

The goal: connect to another corporate network, 10.0.0.0/8 addresses, access only possible via a PPTP VPN.

At your disposal: a friendly network with an OpenVPN gateway, ssh access, and various UNIX and Windows hosts, including a VMWare server.

  • SSH Tunnel for PPTP Port doesn't work, because PPTP is an IP protocol, not a TCP one (OK, technically it's based on GRE).
  • PPTP via OpenVPN doesn't work because networks on both ends are 10.0.0.0/8 networks and the routing gets screwed up.
  • A VM on my local machine could have got around the routing issue, but while I have VMWare installed, I don't have any OS images with me (a tactical error, I know).

Here's what I came up with:

Diagram of network tunnels used to establish connection

Could you have done any better?

What amazed me, though, was that copy and paste from an application on the laptop to an application on the destination workstation worked. Every once in a while, technology does seem to work. Even though it would be nice if PPTP had some way to allow itself to be tunneled via TCP.


Nobody has rated this entry.

Comments for this log entry

Is this exciting? by junodog (Mon, May 19, 2008, 00:12)
Well, is it? I'm still trying to get my HTML skills up to scratch.

Language by Nairubi (Sun, May 25, 2008, 17:06)
Guess I need to work on my English.