TEXT 43
Untitled Guest on 14th August 2020 03:21:48 PM
  1. firewall-cmd --add-forward-port=port=8080:proto=tcp:toport=80:toaddr=172.26.1.71
  2. success
  3. [[email protected] ~]# firewall-cmd --list-all
  4. kibana-web (active)
  5.   target: default
  6.   icmp-block-inversion: no
  7.   interfaces: eth0
  8.   sources: 10.2.253.0/24 172.10.1.0/24
  9.   services: http https kibana-web ssh
  10.   ports:
  11.   protocols:
  12.   masquerade: no
  13.   forward-ports: port=8080:proto=tcp:toport=80:toaddr=172.26.1.71
  14.   source-ports:
  15.   icmp-blocks:
  16.   rich rules:
  17.  
  18.  
  19. $curl elasticsearch1.ism.ld
  20. curl: (7) Failed to connect to elasticsearch1.ism.ld port 80: Connection refused

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.