サーバー: 192.168.40.23

サーバー: 192.168.40.23

サーバー: 192.168.40.23

  `# vi /etc/sysconfig/shellinaboxd`

    # TCP port that shellinboxd's webserver listens on 
    PORT=6175
    # specify the IP address of a destination SSH server 
    OPTS="-s /:SSH:192.168.40.23"
    
    # if you want to restrict access to shellinaboxd from localhost only     
#OPTS="-s /:SSH:192.168.40.23 --localhost-only"
 OPTS="--disable-ssl-menu -s /:LOGIN"

私がアクセスすると、 https://localhost:6175同じサーバーで正常に動作します。

サーバーLAN ipを使用して外部からアクセスすると、https://192.168.40.23:6175ブラウザに次のように表示されます。

接続できません

6175外部ブラウジングを有効にする方法は?ファイアウォールの問題ですか、それとも間違った設定ですか?シェルボックス

ベストアンサー1

firewall-cmd --permanent --add-port=6175/tcp
firewall-cmd --reload

おすすめ記事