Simultaneous VPN connections
Hi, I've tried googling to see if I could find anyone that discuss this before, but without success. I'm not sure if I google with the wrong words, or I'm just not looking hard enough.
Any how, my problem is that I'm using iptables on my gateway box to do SNAT, and when I connect to a company's VPN the first connection is fine. But all the other fail. When I say fail, I mean they get the initial connection but fail to setup the connection it seems.
My network setup is this:
LAN ---------> Iptables/GW ------> Router ------> INET -----> VPN Server
(192.168.1.0) SNAT NO NAT
Now I just want to confirm that its not iptables that's having the problems before I start blaming the people setting up the VPN Server.
The one way right now that we get more than 1 connection to the VPN Server is to by pass the Iptables/GW.
Host1 ---------> Iptables/GW ------> Router ------> INET -----> VPN Server
(192.168.1.10) SNAT NO NAT
^
|Host2 ---------------------------------|
(INET IP different from the one Iptables/GW uses)
This is how we are able to get 2 connections to the VPN Server, now the people that setup the VPN Server claim that there aren't any limits like 1 connection per IP or anything like that, I'm also wondering, if you ever could make more than 1 connection to a VPN Server from the same IP. I'm not very familiar with VPNs.
Any information would be apprciated.
Bailey
Signature · 4 lines
[email protected] Administrator, tgpsolutions http://www.tgpsolutions.com
Quoted 4 lines · Bailey Kong
Host1 ---------> Iptables/GW ------> Router ------> INET -----> VPN Server
(192.168.1.10) SNAT NO NAT^ |
Quoted 8 lines
Host2 ---------------------------------|
(INET IP different from the one Iptables/GW uses)This is how we are able to get 2 connections to the VPN Server, now the people that setup the VPN Server claim that there aren't any limits like 1 connection per IP or anything like that, I'm also wondering, if you ever could make more than 1 connection to a VPN Server from the same IP. I'm not very familiar with VPNs.
You are right, at least one NAT gateway should take care of the call ID numbers the clients assign themselves. These numbers are rewritten by iptables so that when replies come back from the PPTP server, iptables will be able to demultiplex the data among the clients.
Likewise, the PPTP server itself should better take care of assigning unique call ID numbers to every incoming call. The server then passes its call ID number to the client over TCP. Now multiple clients with the same source IP address will be demultiplexed by the PPTP server thanks to the peer (destination) call ID field of the GRE header.
Check this out as well:
http://sourceforge.net/docman/display_doc.php?docid=14460&group_id=44827
--
Ilguiz Latypov
Net Integration Technologies, Inc
tel. +1 (514) 281 9191 x 117