[I hope this is not off-topic here]
I'm trying to set up a PPTP tunnel between a Linux (Debian 6) Server and a Windows 7 Client.
The problem is, that the PPTP connection itself (ports 1723 and 47) must be tunneled via a custom program because the Linux server is behind a NAT. This tunnel is made by a custom Windows program that listens to ports 1723 and 47 (localhost) and forwards these TCP connections to to the remote server. This tunnel already works fine for generic connections like SSH and has been used for years now. It allows me to connect to any TCP port on the Linux server.
The problem with PPTP is, apparently, that it needs to transmit GRE packets which aren't TCP connections and thus don't reach the other network (and the VPN connection setup times out).
Can I configure the PPTP connection somehow so that it doesn't use these GRE packets or perhaps encapsulates them in a TCP connection?
Any other suggestions greatly appreciated.