Configuring cross-subnet portal authentication, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual
Page 144
134
[SecPath] domain default enable dm1
3.
Configure portal authentication on the SecPath:
# Configure the portal server as follows:
{
Name: newpt
{
IP address: 192.168.0.111
{
Key: portal
{
Port number: 50100
{
URL: http://192.168.0.111:8080/portal.
[SecPath] portal server newpt ip 192.168.0.111 key portal port 50100 url
http://192.168.0.111:8080/portal
# Configure the SecPath as a DHCP relay agent, and enable the IP address check function.
[SecPath] dhcp enable
[SecPath] dhcp relay server-group 0 ip 192.168.0.112
[SecPath] interface gigabitethernet 0/2
[SecPath–GigabitEthernet0/2] ip address 20.20.20.1 255.255.255.0
[SecPath–GigabitEthernet0/2] ip address 10.0.0.1 255.255.255.0 sub
[SecPath-GigabitEthernet0/2] dhcp select relay
[SecPath-GigabitEthernet0/2] dhcp relay server-select 0
[SecPath-GigabitEthernet0/2] dhcp relay address-check enable
# Enable re-DHCP portal authentication on the interface connecting the host.
[SecPath–GigabitEthernet0/2] portal server newpt method redhcp
[SecPath–GigabitEthernet0/2] quit
Configuring cross-subnet portal authentication
Network requirements
As shown in
:
•
SecPath A is configured for cross-subnet portal authentication. Before passing portal authentication,
a user can access only the portal server. After passing portal authentication, the user can access
Internet resources.
•
The host accesses SecPath A through SecPath B.
•
A RADIUS server serves as the authentication/accounting server.
Figure 119 Network diagram
SecPath A
Host
8.8.8.2/24
GE0/2
20.20.20.1/24
Portal server
192.168.0.111/24
RADIUS server
192.168.0.112/24
GE0/1
192.168.0.100/24
SecPath B
GE0/2
8.8.8.1/24
GE0/1
20.20.20.2/24
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS