VPN, NAT en Routing ellende; probleem: GRRRR (GRE)

Pagina: 1
Acties:

  • Zoetjuh
  • Registratie: Oktober 2001
  • Laatst online: 10-01-2024
Ik begin het eeecht zat te worden. Normaal heb ik niets tegen zo'n bedrijfje/fabrikant als Compex. Zeker niet wat betreft netwerkkaarten. Goedkoop en opzich wel okee. Maar wat betreft routers, kan ik ze wel schieten!

Hun ISDN Router ondersteund geen GRE (IP Protocol 47), welke ik wel nodig heb om een PPTP VPN verbinding voor elkaar te krijgen. Ze hebben daarom een Broadband Router die je achter deze ISDN Router kunt plaatsen.. De NetPassage 15BR. Maargoed, als dat zo makkelijk was om die "ff" achter de router te zetten... neuh :S

Okee, in mijn volgende mailtje welke ik gestuurd heb (de zoooveelste naar ze) zal duidelijk worden wat de situatie is en welke het moet worden.

Ik zal eerst even vertellen dat de router(s) direct op de switch staan dus en de server maar 1 netwerkkaart heeft, geconfigureerd met een lokaal IP. Ik weet dat het met NetGear ISDN Routers werkt (heb ik al draaiend bij een andere klant), dus het ligt niet aan die ene kaart...
Okee, I've tried this. But it didn't work. Whenever I tried to set an IP provided by my isp to the internal IP adress for the Passage 22 it tells me the IP is incorrect. Making changes to the subnetmask didn't have any effect either.

So,a total recap where I hope you can give me a step-by-step walkthrough with the settings. I'm trying to get this thing to work for more then a month now.

I've attached a JPEG file which shows the configuration:

The ISP has given us the following IP Range: 213.xxx.1.48 to 213.xxx.1.55 (Subnet 255.255.255.248)
On ISDN Connection made by the Passage 22, it receives 213.xxx.1.49 as Public IP.

All Local Clients and the Server have IPs in the Local range: 192.168.1.x where the server has 192.168.1.1 as its IP.
Their subnet is 255.255.255.0

We want the Server to be accessable through the external IP 213.xxx.1.50 as well. So we need NAT to do so. As far as I know the Passage 22 doesn't support GRE, so letting this router (the Passage 22) forward the packets to the server would mean that there wouldn't be any VPN/PPTP connection possible because therefor IP Protocol 47 is needed to change the headers in the IP packages (as far I know, the Passage 22 doens't support this).

So to overcome this problem we bought the NetPassage 15BR, which (as I've read on your website) does support PPTP forwarding. Thus we need the Passage 22 to Route all packages to the NetPassage 15BR (this way PPTP is still possible right?). There we need the NetPassage 15BR to use NAT to forward all packages for the server (213.xxx.1.50 Public) to its Private IP (192.168.1.1), since the NetPassage 15BR supports PPTP it would mean that a PPTP-type VPN connection would be possible? (Am I still right?)

If I'm still right than we have the problem that the Passage 22 needs to Forward/Route all packages to the NetPassage 15BR. But how to do so? I don't know. I've tried (as told below) to set the Private IP of the Passage 22 to 213.xxx.1.49, 213.xxx.1.51 etc with subnets like 255.255.255.248 to 255.255.255.255 and 255.255.255.0 but none of there worked.

When I set the Private IP of the Passage 22 to 192.168.168.1 and the Public IP of the NetPassage 15BR to 192.168.168.2 they can send the packages but PPTP support is lost because, i think:

1. The Passage 22 had to use NAT to translate the packages received at 213.xxx.1.49, to 192.168.168.2, doesn't support PPTP and therefor loses the possibility to acceive any PPTP connection after this point on. (I'm not sure on this)
2. The Public IP for the NetPassage 15BR is set to 192.168.168.2 and therefor it can't set a NAT rule for 213.xxx.1.50 to 192.168.1.1 so, support for PPTP is lost here as well. (Not sure, but more sure than the 1st reason)

Please help me on this. Please give me the properties I need to set to acceive what I need.
I think the routers should commune on 213.xxx.1.49 and 213.xxx.1.51 so NAT on the NetPassage 15BR would be succesfully acceived for 213.xxx.1.50 to 192.168.1.1, but the Passage 22 doens't like to be set to 213.xxx.1.49.

Its becoming a very long story so I really hope anything we try from now will help.

Best regard,


Peter Elbertse
Afbeeldingslocatie: http://home.wanadoo.nl/zoetermeermaster/sit.jpg

  • Flyduck
  • Registratie: Juni 2001
  • Laatst online: 28-03-2025
Ok duidelijk. Ik begrijp hieruit dat je vanaf internet een PPTP verbinding naar de server wil maken via NAT. Voor zover ik weet moet dat sowieso geen probleem zijn als je gewoon een static mapping van port 1747 maakt (doe ik zelf ook). Dit heeft verder helemaal nix te maken met het feit of de router dit protocol ondersteund, pptp kan namelijk gewoon via NAT werken en bv L2PT niet.

Maar goed je volgende probleem is dat je public IP reeks te klein is. Om 2 routers te gebruiken moet je je toegewezen reeks nog verder gaan subnetten naar 255.255.255.252 waarna je nog maar 2 bruikbare IP adressen overhoudt terwijl je er 3 nodig hebt (2 voor de eerste router en eentje voor de externe if van de 2e router). De 2e router gaat NAT draaien de eerste niet...

Maarja..

Zijn er mensen die deze regel lezen? Graag terugkoppeling gewenst (onopvallend)


  • Zoetjuh
  • Registratie: Oktober 2001
  • Laatst online: 10-01-2024
Was het maar zo, als het alleen om poort 1723 zou gaan (niet 1747) dan had ik het allang draaiend... Verbinden over deze router via telnet lukt wel, maar via VPN dus niet...

Ja, de 2de router moet NATten; de eerste niet.. Die eerste zou alles door moeten gooien.... bridging (??? okee, nu toch wel een kreet waarvan ik twijfel of ik weet wat het doet)... Zou het niet zo kunnen zijn dak dan me 2de router op zo'n extern ip gooi (public deel) wanneer de 1ste alles doorgooit. Dan zou ik wel juist kunnen NATten??

Please help!

  • igmar
  • Registratie: April 2000
  • Laatst online: 29-06 18:56

igmar

ISO20022

Was het maar zo, als het alleen om poort 1723 zou gaan (niet 1747) dan had ik het allang draaiend... Verbinden over deze router via telnet lukt wel, maar via VPN dus niet...
Even voor de duidelijkheid : Is die VPN IPSEC of pptp / l2tp ??

  • Zoetjuh
  • Registratie: Oktober 2001
  • Laatst online: 10-01-2024
PPTP, dus geen L2TP met IpSec. Want dan kon ik het sowiezo wel vergeten met deze apparatuur