Comment about the external port redirects.
parent
03e61504d9
commit
64d4d1ff71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue