Comment about the external port redirects.

master
Robert "ar" Gerus 2013-03-11 12:59:39 +01:00
parent 03e61504d9
commit 64d4d1ff71
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
rules() {
# external port redirects
iptables -t nat $flag PREROUTING -i ${IF_WAN} -p tcp --dport 22 -j DNAT --to-destination ${HOST_AMANOJAKU}:22
iptables -t nat $flag PREROUTING -i ${IF_WAN} -p tcp --dport 80 -j DNAT --to-destination ${HOST_AMANOJAKU}:80
iptables -t nat $flag PREROUTING -i ${IF_WAN} -p tcp --dport 443 -j DNAT --to-destination ${HOST_AMANOJAKU}:443