Как сделать проброс порта в Cisco 2921? Привет всем,
сделал так
ip nat inside source static 172.16.1.10 whiteIP extendable
как я понял, все порты на этот IP ушли, на этот сервант у меня есть доступ
теперь у меня появилась необходимость к другому серверу на определенный порт
удаляю ту правилу , выходит так
Static entry in use, do you want to delete child entries? [no]:
мне надо пробросить порты 80 на другой ИП и порт 21 на другой ИП
часть конфига как у меня стоит.no ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip nat inside source list NAT interface Dialer1 overload
ip nat inside source static 172.16.1.10 whiteIP extendable
ip route 0.0.0.0 0.0.0.0 GATEWAYip

21 Авг 2019 в 06:47
307 +1
0
Ответы
1

To forward ports in Cisco 2921, you can use the following commands:

Delete the existing static NAT entry:

no ip nat inside source static 172.16.1.10 whiteIP extendable

Create new static NAT entries for port forwarding:

ip nat inside source static tcp 172.16.1.10 80 NEW_IP 80
ip nat inside source static tcp 172.16.1.10 21 NEW_IP 21

Replace "NEW_IP" with the actual IP address of the server you want to forward the ports to.

Save the configuration:
write memory

By following these steps, you should be able to successfully forward ports 80 and 21 to the specified servers on their respective IP addresses.

20 Апр 2024 в 13:13
Не можешь разобраться в этой теме?
Обратись за помощью к экспертам
Гарантированные бесплатные доработки в течение 1 года
Быстрое выполнение от 2 часов
Проверка работы на плагиат
Поможем написать учебную работу
Прямой эфир