понеділок, 9 вересня 2019 р.

HP MSR2004/24

ip route-static 0.0.0.0 0 192.168.10.1
 
dns proxy enable
dns server 1.1.1.1
 
acl basic s-50-all
 rule 0 permit source 192.168.50.0 0.0.0.255
 
nat address-group 0
 address <global_ip_start> <global_ip_end>
 
dhcp enable
dhcp server ip-pool net50xxx
 gateway-list 192.168.50.1
 network 192.168.50.0 mask 255.255.255.0
 address range 192.168.50.2 192.168.50.19
 dns-list 192.168.50.1
 
interface Vlan-interface500
 ip address 192.168.50.1 255.255.255.0
 dhcp server apply ip-pool net50xxx
 
interface GigabitEthernet0/5
 port link-mode bridge
 description *** LAN-50 ***
 port access vlan 500
 
interface GigabitEthernet0/0
 port link-mode route
 description *** WAN ***
 ip address <externat_ip> <external_ip_mask>
 nat outbound name s-50-all
 nat server protocol tcp global <externat_ip> 5022 inside 192.168.50.2 22
 nat server protocol tcp global <externat_ip> 5080 inside 192.168.50.2 80

Немає коментарів:

Дописати коментар