summaryrefslogtreecommitdiff
path: root/forward_ports
blob: c991a0f27a50504b325c34c57e52681e532b592b (plain)
1
2
3
4
5
6
7
#!/bin/zsh

. /home/pks/bin/func.zsh
check_root

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000