IPTABLES - Передача 80 - 8 080 апачу бродяги

Я пытался передать свои 80 доступов к 8 080 с IPTABLES без успеха, затем я прочитал этот ответ

И это наконец работало на меня, после всех конфигураций IPTABLES я попробовал эту команду, сделал его..

sudo ssh -gL 80:127.0.0.1:8080 localhost

чем это управляет, действительно делают?

0
задан 13 April 2017 в 05:23

1 ответ

в трафике команды sudo ssh -gL 80:127.0.0.1:8080 localhost

option -g - Allows remote hosts to connect to local forwarded ports
option -L - [bind_address:]port:host:hostport
             Specifies that the given port on the local (client) host is to be
             forwarded to the given host and port on the remote side.  This
             works by allocating a socket to listen to port on the local side,
             optionally bound to the specified bind_address.  Whenever a
             connection is made to this port, the connection is forwarded over
             the secure channel, and a connection is made to host port
             hostport from the remote machine.  Port forwardings can also be
             specified in the configuration file.  

от порта 80 перенаправленных для портирования 8080 на localhost

1
ответ дан 6 October 2019 в 02:44

Другие вопросы по тегам:

Похожие вопросы: