Passing all traffic through Cloudflare
Posted
by
Nick
on Server Fault
See other posts from Server Fault
or by Nick
Published on 2012-06-13T21:30:39Z
Indexed on
2012/06/17
15:18 UTC
Read the original article
Hit count: 371
I am new to Linux System Administration and I am experimenting with iptables trying to learn how to really lock down a system with them. And one thing a friend of mine recommended was that there was a way to pass all incoming traffic through Cloudflare so even if attackers resolved the server ip they still couldn't (D)dos it directly.
This is exactly what they said: "Simply config your servers iptables to only allow incoming connections from CloudFlares IP ranges then set it to allow only your IP/IP range to connect on port 21 (SSH)"
Could someone help me on what command I'd need to run for Ubuntu to get this effect?
© Server Fault or respective owner