mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-14 20:20:49 +02:00
7 lines
287 B
Bash
Executable File
7 lines
287 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 3000
|
|
iptables -A INPUT -p tcp --dport 8333 -j ACCEPT
|
|
iptables -A INPUT -p udp --dport 8333 -j ACCEPT |