Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    problem in ip tables

    i have very simple question
    i am using linux and open the NAT

    echo '1' > /proc/sys/net/ipv4/ip_forward
    /sbin/iptables -P FORWARD ACCEPT
    /sbin/iptables -t nat -A POSTROUTING -p all -s -d -j MASQUERADE

    now i want only to user can access the internet other not
    and second thing is that i want to block sites like and so on . how can i do this on iptables . i don't want to use proxy server because through this is can't open the voice chat as well as sms sites. is there any way to do this job
    send reply on this address

  2. #2
    googling for block kazaa iptables returns:

    (i learn something new today!! )

    To allow FROM .1 to .200 (or to block .201 to .254) chop your ip into something like and disallow it. This would effectively block ip from to from passing thru your firewall..

    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts