Configure your Railgun server to see proper logs
Nikoletta Szabo

Configure your Railgun server to see proper logs

Nikoletta Szabo

Many of our customers who use Cloudflare have recently notified us that they are not able to see the proper visitor IPs in the logs only the railgun server IPs. It is caused due to the fact that the requests are not directly coming from Cloudflare, so mod_cloudflare will not restore the IP’s of the visitor. That is why we would like to ask you to configure the mod_cloudflare.

What is a Railgun server?

How do I fix this?

  1. Open your Apache configuration ( if you do not know where to find it, ask your hosting provider for assitance )
  2. At the very end add:
    CloudFlareRemoteIPTrustedProxy railgun_address
  3. If you have more servers to add, it should look like this:

Following this tiny configuration you will be able to see the adequate logs on our Dashboard.

If you need any further assistance, do not hesitate to contact our support team: info at bitninja dot io

Share your ideas with us about this article

Previous posts

Spammer Tactics – How they try to mislead you?
Spammers are enemies of all sysadmins, because they are altering their tactics day by day. Keeping softwares up-to-date on your servers is not always as easy and solvable as we might think. Even though you have the latest application which is protected against the known security risks, you can have a lot of user-related contents which are like honey for hackers. In case of a hosting provider, lots of customers use shared resources. Unfortunately, they often lack knowledge on how to keep their website up-to-date. You can send them tons of e-mails about the importance of strong passwords...
Server Security Checklist – How to maintain the security of your server?
We are convinced that almost all server owners have to struggle with the maintenance of their server, which is not always as easy and transparent as we would assume.  Our treasured servers are vulnerable, sensitive and exposed to many many types of attacks, exploits or malfunctions. That is why we have to take care of them on a regular basis. We have consulted some websites, added our own ideas, and came up with the following checklist, which will evidently serve your advantage.         #1 Backup Before you decide to make some changes on your serv...