Got it

External Captive portal with USG 6000

Created: Mar 20, 2019 08:15:29Latest reply: May 23, 2019 03:31:20 2905 17 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

hello ,

I am trying to configure USG 6000 firewall with external hotspot ,

for now I configurred radius server and can connect to firewall fine , when User trying to access internet the external captive portal is openning but I have a problem ,which I didinot find solution for it yet . when user insert his username and password I have to get this information and send them to firewall which will make authentication with radius server , but I don't Know which PORT should I post that information to in the USG .

this is my topology

USG(192.168.2.1)--------------------------->Radius Server(10.5.5.30)

|--------------------------->Captive portal(10.5.5.30/index.php)

I am trying to send login information to the port 8887 but I think this port for local captive portal not for external ,so when user make authentication I can see him in Online user but the access mode of him is LOCAL

so what is happining as I think like this ,

I send information from external captive portal to port 8887 which is for local captive portal which will send authentication to radius which will resend the reply to the local

captive portal not to the external captive portal , so I can not get the result of authentication .

I wish I explained my problem clearly

Featured Answers

Recommended answer

chenhui
Admin Created Mar 20, 2019 08:56:48

Posted by chenhui at 2019-03-20 08:53@Muh.JM hi bro,as you said, you can configure external captive portal authentication, but you did't ...
You can refer to this link: http://support.huawei.com/hedex/ ... 0154459&lang=en .

Path: Adnministrator guide > User and user authentication > Mechanism > User authentication > Portal authentication on internet access users.
View more
  • x
  • convention:

All Answers
@Muh.JM hi bro,
as you said, you can configure external captive portal authentication, but you did't provide the configuration, so I'm not sure if you have configured it right.
View more
  • x
  • convention:

Posted by chenhui at 2019-03-20 08:53@Muh.JM hi bro,as you said, you can configure external captive portal authentication, but you did't ...
You can refer to this link: http://support.huawei.com/hedex/ ... 0154459&lang=en .

Path: Adnministrator guide > User and user authentication > Mechanism > User authentication > Portal authentication on internet access users.
View more
  • x
  • convention:

Posted by chenhui at 2019-03-20 08:53@Muh.JM hi bro,as you said, you can configure external captive portal authentication, but you did't ...

I configured external captive portal and users redirected to the external captive portal , but I am not sure what is the port should I submit the username and password of users who are clicking on login button , the ip of USG is 192.168.2.1 so I have to send the login information to that ip but to which port
View more
  • x
  • convention:

Posted by Muh.JM at 2019-03-20 08:59 Posted by chenhui at 2019-03-20 08:59@Muh.JM hi bro,as you said, you can configure external captive p ...
@Muh.JM hey bro,
from your description, I think you should check the port that the external captive portal server use,
View more
  • x
  • convention:

Posted by chenhui at 2019-03-20 10:26 @Muh.JM hey bro, from your description, I think you should check the port that the external captiv ...
thank you bro for your reply , I think that also , but from where can I check that port? please help me
View more
  • x
  • convention:

I developed the login page but I still not know which is the port for the external portal in the USG and how can I check it
View more
  • x
  • convention:

Posted by Muh.JM at 2019-03-20 10:32 I developed the login page but I still not know which is the port for the external portal in the USG ...
did you change the port?
if you didn't change the port, the USG will listen port 2000, and send packet to external captive portal server with port 50100
View more
  • x
  • convention:

thank you bro for all your reply , but I tried with the port 2000 but the connection is REFUSED . this is my code which I am trying to send post to the USG using jquery

$("#capt_settings").submit(function(e){e.preventDefault();
$('#username').val(base64encode(utf16to8('netcom')));
$('#password').val(base64encode(utf16to8('netcom')));
$('#actionType').val("umlogin");

$('#userIpMac').val(document.getElementById("userIpMacVal").value);

var username1 = '';
var password1 = '';

$.ajax({
type: 'POST',

url: 'http://192.168.2.1:2000',
dataType: 'json',

data: $('form#capt_settings').serialize(),
xhrFields: {

withCredentials: true
},
crossDomain: true,

headers: {

}
}).done( function (data, status) {$('#text').html(data);alert(status)
})
.fail( function (data, status) {$('#text').html(data);alert(status)
});;
View more
  • x
  • convention:


thank you bro for your reply but I tested with port 2000 but the  request was refueced 
this is my code in which I am trying to send post to USG 



$("#capt_settings").submit(function(e){e.preventDefault();
$('#username').val(base64encode(utf16to8('netcom')));
$('#password').val(base64encode(utf16to8('netcom')));
$('#actionType').val("umlogin");

$('#userIpMac').val(document.getElementById("userIpMacVal").value);

var username1 = '';
var password1 = '';

$.ajax({
type: 'POST',

url: 'http://192.168.2.1:2000',
dataType: 'json',

data: $('form#capt_settings').serialize(),
xhrFields: {

withCredentials: true
},
crossDomain: true,

headers: {

}
}).done( function (data, status) {$('#text').html(data);alert(status)
})
.fail( function (data, status) {$('#text').html(data);alert(status)
});;


View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.