Community discussions

MikroTik App
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

PPTP-SERVER LOAD BALANCING

Mon Nov 17, 2008 1:51 pm

Hello,

I was wondering is this possible, this is my situation:

Im using mikrotik as pptp concentrator, and its quite OK, but, how time is passing one PPTP server is not enough to cover number of users, when they are all logged on they have problems with badwidth, slow connectivity or response time, now, i would like to know is it possible to add another mikrotik pptp to this witch would balance users, but i want that IP address that users are using to connect to VPN stays the same e.g. 10.10.10.10 (i know i could add another server with 10.10.10.11 but i dont want to do that, its too much trouble in this situation)

So ? Is there any acceptible solution for me ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Mon Nov 17, 2008 2:01 pm

it's quite silly to use IPs as VPN server name... if you use textual names, then you simply add another IP in DNS, and connections to server(s) are load-balanced =)
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Mon Nov 17, 2008 2:03 pm

now you can 'hide' your servers behind router with address 10.10.10.10, and then dst-nat vpn connections to your servers
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: PPTP-SERVER LOAD BALANCING

Thu Nov 27, 2008 8:13 pm

 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Thu Nov 27, 2008 11:54 pm

but i want that IP address that users are using to connect to VPN stays the same e.g. 10.10.10.10
unfortunately, he uses IP, not domain name...
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

Re: PPTP-SERVER LOAD BALANCING

Fri Nov 28, 2008 2:06 pm

can anyone suggest some load balancing software for this ?
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: PPTP-SERVER LOAD BALANCING

Fri Nov 28, 2008 2:13 pm

place PPTP servers behind NAT then randomly translate users requests to TCP 1723 between them
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

Re: PPTP-SERVER LOAD BALANCING

Fri Nov 28, 2008 2:18 pm

did that, but it hangs, ive got alots of pptp connections approx. 4000 and more, is there some better solution then nat ?
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: PPTP-SERVER LOAD BALANCING

Fri Nov 28, 2008 2:46 pm

use FQDN names as PPTP server name (vpn.exapmle.com) + RR DNS
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Sat Nov 29, 2008 12:35 am

did that, but it hangs, ive got alots of pptp connections approx. 4000 and more, is there some better solution then nat ?
should work absolutely stable. what version did you use?
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 2:09 pm

OK, im using RedHat EL 5 and installed IPVS+piranha, now, im having trouble with GRE... whenever i try to connect to PPTP i get disconnected with 691 error... any suggestion for iptable rules ?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 2:31 pm

OK, im using RedHat EL 5 and installed IPVS+piranha, now, im having trouble with GRE... whenever i try to connect to PPTP i get disconnected with 691 error... any suggestion for iptable rules ?
ok, what has this have to do with MikroTik ?
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 2:35 pm

they are behind piranha, and becouse mikrotik dones not offer any kind of solution for this problem (load sharing, or load balancing for pptp termination) i dont see what is the problem asking these questions ? when you create service for load sharing/balancing in mikrotik, there won't be need to use other services/software etc.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 2:40 pm

I know, but this forum is strictly about mikrotik, please see FAQ
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 2:55 pm

691 means incorrect user and/or password. I don't see any reasons ROS or something else may affect this
 
jbosko
just joined
Topic Author
Posts: 7
Joined: Mon Nov 17, 2008 1:45 pm

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 3:39 pm

pardon error: 619 i already said it cannot make GRE tunnel... not an user/pass error...

nevermind, close the topic. there won't be any smart answer found here
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 4:10 pm

wait... what's problem with MT?..
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: PPTP-SERVER LOAD BALANCING

Wed Dec 03, 2008 8:35 pm

you needed to NAT port 1723 and protocol 47 (GRE)... not just tcp/1723. This is the cause of the 619 error.
 
User avatar
gmsmstr
Trainer
Trainer
Posts: 983
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO
Contact:

Re: PPTP-SERVER LOAD BALANCING

Thu Dec 04, 2008 12:55 am

The "proper" way of doing this is RR DNS, and setup several boxes. Or, better yet, use MT as your PPTP server and pop in a something that can handle that many connections.

Who is online

Users browsing this forum: almdandi, Chaosphere64, holvoetn, Paternot, yeahunter and 39 guests