mirror of https://git.envs.net/envs/ops.git
S41firewall: forward also port 465 (submisson) to mailserver
This commit is contained in:
parent
fb03146c7e
commit
edc237bff2
|
@ -163,6 +163,8 @@ if [ "$1" = "start" ]; then
|
|||
$IPT -w -t nat -A PREROUTING -d 5.199.136.28 -p tcp --dport 25 -j DNAT --to-destination 192.168.1.3:25
|
||||
$IPT -w -A FORWARD -p tcp -d 192.168.1.3 --dport 25 -j ACCEPT
|
||||
# SMTPs
|
||||
$IPT -w -t nat -A PREROUTING -d 5.199.136.28 -p tcp --dport 465 -j DNAT --to-destination 192.168.1.3:465
|
||||
$IPT -w -A FORWARD -p tcp -d 192.168.1.3 --dport 465 -j ACCEPT
|
||||
$IPT -w -t nat -A PREROUTING -d 5.199.136.28 -p tcp --dport 587 -j DNAT --to-destination 192.168.1.3:587
|
||||
$IPT -w -A FORWARD -p tcp -d 192.168.1.3 --dport 587 -j ACCEPT
|
||||
# Sieve
|
||||
|
|
Loading…
Reference in New Issue