1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting a game server to show its ping

Discussion in 'Tomato Firmware' started by haarp, Jan 5, 2012.

  1. haarp

    haarp LI Guru Member

    Greetings.

    Behind my Tomato router there is a Linux-based game server. The game port is forwarded, players can connect and play flawlessly. However one problem remains, and that is the ping in the server list. You see, for the ping to show up, this server has to bind to my external IP address. Sitting behind a router, it can only bind to the internal one of course (192...). In this configuration, clients will only see "N/A".
    No, allowing ICMP answers in Tomato will not suffice :(

    A fellow server admin figured this out:
    Now that sounds like overkill, but as far as I can tell, it is the only solution. Does anyone here have another idea (going for the minimalist approach)? If not, how do I implement this transparent bridge filter in Tomato?

    Thanks
     
  2. haarp

    haarp LI Guru Member

    Nobody?
     
  3. kthaddock

    kthaddock Network Guru Member

    Have you looked under Advanced => Firewall => Respond to ICMP ping
     
  4. lancethepants

    lancethepants Network Guru Member

    Beat me to it, that's what I was going to say.
     
  5. haarp

    haarp LI Guru Member

    ;)
     
  6. kthaddock

    kthaddock Network Guru Member

    You can translate your server to ex "myrouter.dyndns.com: port" if that help you.
     
  7. haarp

    haarp LI Guru Member

    Sorry, I don't quite understand what you mean? My external IP is more or less static. I don't see how dyndns would help me here.

    The problem is that the server application needs to bind to the external IP address. But that belongs to the router. For example:

    Router (running Tomato):
    External: 123.456.654.321
    Internal: 192.168.0.1
    Serverbox (running Linux):
    Internal: 192.168.0.2

    For the server application to work correctly, it needs to be assigned the external address, i.e. Serverbox needs an interface with the same IP as external.

    Now I could do that by attaching Serverbox directly to the internet, but that would defeat the purpose of having the router. It is not an option.

    The guy I quoted in my first post has managed to do what I need with a transparent bridged filter. That would work, but I do not know how to do that.

    I hope this clarifies my problem :)
     
  8. kthaddock

    kthaddock Network Guru Member

Share This Page