Community discussions

MikroTik App
 
User avatar
framd
just joined
Topic Author
Posts: 4
Joined: Wed Jul 25, 2007 9:44 pm
Location: Sardinia, Italy
Contact:

Enabling user registration and payment

Thu Jul 26, 2007 12:51 am

Hello.
I'm in a special situation here. In order to have internet access, users must require an username and password. Usernames and passwords are provided from an automated website-based system and payments are made via Paypal API.

The problem is: user must have access only to my website (hosted locally) and paypal.com website, WITHOUT do login.

Is possible create rules to permit access only to some hosts and/or IPs?

Thanks a lot,
Francesco
 
User avatar
framd
just joined
Topic Author
Posts: 4
Joined: Wed Jul 25, 2007 9:44 pm
Location: Sardinia, Italy
Contact:

Re: Enabling user registration and payment

Fri Jul 27, 2007 4:03 am

nothing? :(

nobody can help me? :( I think is not a big problem for a medium mikrotik expert.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Enabling user registration and payment

Fri Jul 27, 2007 8:55 am

Could you explain the method user will be logged in ?
As there is no any problem to allow your specific page and Paypal, but then I assume user should get full access.
MikroTik RouteroS provides HotSpot server feature, but RouterOS could communicate only with remote RADIUS server.
 
User avatar
framd
just joined
Topic Author
Posts: 4
Joined: Wed Jul 25, 2007 9:44 pm
Location: Sardinia, Italy
Contact:

Re: Enabling user registration and payment

Fri Jul 27, 2007 11:59 am

Registration:
1) User go on whichever website and mikrotik redirect it to the login page.
2) User click on "registration" link like "http://www.mysite.com/register/"
3) On registration page user provide Personal Data like Name, Surname, Street, Prone and accept privacy policy
4) If data format is correct user is redirect to Paypal.com, when he ave to login into it and confirm payment (in the same time Paypal send confirmation of payment to my website and my website activate the user).
5) When payment is completed the user is redirect to mikrotik login page and have to provide user and password for surf the web.


I have problems from second point because user can't go to my website or paypal.com website...any idea?
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Enabling user registration and payment

Fri Jul 27, 2007 12:51 pm

If I understand you question…

First of all you must use HotSpot!

In hotspot configuration you have “walled garden”. You can add some site or host (access some sites without authorization).
 
User avatar
framd
just joined
Topic Author
Posts: 4
Joined: Wed Jul 25, 2007 9:44 pm
Location: Sardinia, Italy
Contact:

Re: Enabling user registration and payment

Fri Jul 27, 2007 12:54 pm

Fantastic!

Thank's a lot!