IPTables rules for backends in different ip of proxy
Hello, im having some trouble with iptables rules in my vps, y want to protect the port of the servers to allow only the connection from the proxy (by only allowing the proxy ip) however the rules im using disables all trafic, can anyone help me create the best rules for iptables? (im really new on iptables)
12 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by zestian#0
Follow the spigot bungeecord firewall guide.
Firewall Guide | SpigotMC - High Performance Minecraft
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
Yes
I've found ufw to be easier than iptables. Now what I do is enable all commonly used ports, like 22 (SSH), 25565 (MC server), and maybe some websites and ssl 80 and 443
ufw allow 22
like that
ufw being easier than iptables is the entire reason it exists
kek
ufw = "uncomplicated firewall"
but yeah true
TIL
imagine not having a dedicated firewall appliance
@Philipp
philipp_de has reached level 2!
Roles Added:
Level 2
Ufw is iptables.
thanks, you are the best guys
i fixed it with your assistance
!solved
post closed!
The post/thread has been closed!
Requested by zestian#0