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
Admincraft Meta
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
Discount Milk
Discount Milk2y ago
Follow the spigot bungeecord firewall guide.
Zestian
ZestianOP2y ago
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.
Discount Milk
Discount Milk2y ago
Yes
Deleted User
Deleted User2y ago
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
ProGamingDk
ProGamingDk2y ago
ufw being easier than iptables is the entire reason it exists kek ufw = "uncomplicated firewall" but yeah true
Deleted User
Deleted User2y ago
TIL
Philipp
Philipp2y ago
imagine not having a dedicated firewall appliance
piggy
piggy2y ago
@Philipp
philipp_de has reached level 2! Roles Added: Level 2
Discount Milk
Discount Milk2y ago
Ufw is iptables.
Zestian
ZestianOP2y ago
thanks, you are the best guys i fixed it with your assistance !solved
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by zestian#0

Did you find this page helpful?