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

    Trying to block

    Gateway server :
    eth1 ------------local
    eth0 ------------public

    To block traffic from perticular host to I implimented this command:

    #iptables -A FORWARD -o eth0 -s -d -j DROP

    But this does not work..........pls help

  2. #2
    Just Joined! forgottentq's Avatar
    Join Date
    Jun 2006
    Virginia at the moment.
    iptables -A FORWARD -o eth0 -d -j REJECT

  3. #3

    Not working

    Quote Originally Posted by forgottentq
    iptables -A FORWARD -o eth0 -d -j REJECT

    Wana tried to block only traffic from a perticular host. Moreover I tried with -REJECT option also.........but no help

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    Sep 2005
    New delhi
    Before moving any further you got to tell us; about the way you have right now configured your box to allow your users to access internet. Are you directly forwarding packets from clients over to internet or have you installed squid ?

    With best regards,
    Amit sharma

Posting Permissions

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