From cf4e152fb45cd9719e1859e77178e350d3b25983 Mon Sep 17 00:00:00 2001 From: creme Date: Mon, 9 Mar 2020 12:04:44 +0000 Subject: [PATCH] add bbs port for pleroma --- etc/init.d/S41firewall | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/init.d/S41firewall b/etc/init.d/S41firewall index d0241b3..a528cbc 100755 --- a/etc/init.d/S41firewall +++ b/etc/init.d/S41firewall @@ -252,6 +252,7 @@ if [ "$1" = "start" ]; then # pleroma / social # => apache2 proxy (http/https) + $IPT -w -t nat -A PREROUTING -d 5.199.136.29 -p tcp --dport 22 -j DNAT --to-destination 192.168.1.18:22 $IPT -w -t nat -A PREROUTING -d 5.199.136.29 -p tcp --dport 70 -j DNAT --to-destination 192.168.1.18:7070 $IPT -w -t nat -A PREROUTING -d 5.199.136.29 -p tcp --dport 7070 -j DNAT --to-destination 192.168.1.18:7070 $IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p tcp --dport 7070 -j DNAT --to-destination 192.168.1.18:7070