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

Question regarding blocking access to a certain IP using Access restriction

Discussion in 'Tomato Firmware' started by dingmel, Nov 27, 2008.

  1. dingmel

    dingmel LI Guru Member

    Hi there. i'm on Victek's mod 1.22 on a WRT54GL.

    i'm trying to block access to an online gaming server - Catan Online - not sure if you guys are familiar with it, anyway, the client operates via Java, and when i have the client running, my network monitor says that it connects to 213.155.85.123 via Java, or rather, its Java connecting to that IP.

    I've tried blocking access via access restriction to that IP, but it doesn't seem to be working. Just to double check, I enter the IP i'm trying to block in the HTTP request column rite? do i have to check Java at the bottom, since its run via a Java client? Thanks !

    Edit : i managaed to use IPtables as such :

    iptables -I FORWARD -d 213.155.85.123 -j DROP

    and it works, but i'd like to restrict access to that IP by a PC on my network ie. 192.168.1.100. how should i edit the command?
     

Share This Page