mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-19 06:30:43 +02:00
5 lines
191 B
Bash
Executable File
5 lines
191 B
Bash
Executable File
#!/bin/bash
|
|
|
|
iptables -A INPUT -p tcp --dport 80 -j ACCEPT && \
|
|
iptables -A INPUT -p tcp --dport 5000 -j ACCEPT && \
|
|
iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 5000 |