Community discussions

MikroTik App
 
pikaro
just joined
Topic Author
Posts: 12
Joined: Mon Nov 11, 2013 3:19 pm

Set limit bandwidth remotely

Sun Dec 01, 2013 5:23 pm

Hi,

I have a RB751U (dont have public ip) connected to modem adsl (have public ip).
I use the RB751U for give free wifi with radius server. How can i set limit badwith from the radius server?

When i connected to wifi, my script exec in the cloud server:
$output = shell_exec('echo "Framed-IP-Address='.$_SESSION['ip'].',Mikrotik-Rate-Limit='.$row1['ul']."k/".$row1['dl'].'k" | radclient -x '.$_SERVER['REMOTE_ADDR'].':3799 coa '.$row1['pass']);

but its dont work because the mikrotik dont have public ip and the modem adsl dont give access to port 3799 and i dont want open ports in the modem adsl...

Is there any other way to limit bandwidth? I dont want limit bandwidth from the winbox neither.

Regards.
 
User avatar
karina
Member
Member
Posts: 460
Joined: Sat Feb 06, 2010 2:18 am
Location: Spain

Re: Set limit bandwidth remotely

Tue Dec 31, 2013 11:31 pm

Why not connect the radius server to the Mikrotik with a vpn
 
pikaro
just joined
Topic Author
Posts: 12
Joined: Mon Nov 11, 2013 3:19 pm

Re: Set limit bandwidth remotely

Fri Jan 10, 2014 10:22 pm

Why not connect the radius server to the Mikrotik with a vpn
How?

Can you show me?

any tutorial with info?

Regards.

Who is online

Users browsing this forum: Bing [Bot], synchro and 16 guests