Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There is a Linux machine (A) running pptpd inside a university network behind a firewall but with real IP. I have no access or any knowledge of IP distribution in this network, so I can't just set remoteip X.Y.Z.200-250 in pptpd config, since it might cause conflicts. I wonder whether it is possible to create a virtual hub for all connected VPN clients, which is then NATed to the real network.

Here is some clumpsy ascii grpaphics illustrating what I want to achieve:

PPTP-client  ---\  ________________     ________________________
                 \ |   10.0.0.0/24 |    |10.0.0.0/24     real ip|
PPTP-client  ----->| Virt. hub (A) |----|ethX       A       eth0|----- Outside world
                 / |_______________|    |_______________________|
PPTP-client  ---/

Googling shows that PacketiX.NET and UT-VPN have such built-in capabilities, but I have no idea of how to do it with ordinary pptpd. I've tried creating dummy interface, configuring it with static IP and then giving to pptp-client the IPs from this interface subnet, but with no success.

Usage of other vpn-servers is problematic since quite paranoid firewall settings and me having to use wetware ssh server for any operations on A.

share|improve this question
2  
It seems like it should be possible. I am somewhat confused about the choice of PPTP when getting through a firewalls is a concern. I find that OpenVPN is far easier to get through a firewall, particularly on a Linux server. On Linux it pretty easy to setup OpenVPN to accept connections on any one of many ports, OpenVPN can even operate through an http proxy. Setting up a special IP range for OpenVPN is also simple. – Zoredache Nov 23 '11 at 1:56
@Zoredache Sorry for late feedback -- there were blackout out there, so there were no possibility to try OpenVPN. Now I've managed to do so, and it works like a charm! Could you repost your comment as an answer, so I will mark it 'Accepted'? – aland Nov 28 '11 at 21:10

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.