summaryrefslogtreecommitdiff
path: root/forward-ports
blob: f13307a1fdb68c8b9a4266a1ea5115aabb1277f4 (plain)
1
2
3
4
5
6
7
8
#!/bin/zsh


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

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