-2

I want to know if it's possible to block inbound traffic to a host but be able to send data only using 'route' command

Thanks :)

1
  • Your question is confusing. Where do you want to type that command? In a firewall? In a router? In the target host itself? Anyways, it may be possible if you explain better, but it won't be correct. When you think about filtering, the immediate answer is iptables.
    – Juliano
    Oct 2, 2009 at 23:53

1 Answer 1

1

i'll take a guess here and say you cannot do it. routing is pretty much stateless - assuming that you have one ip address assigned to linux box you can indeed block bidirectional communication with given host by setting static route just for it pointing to... neverland. but such approach will block both communication initiated by your host or by foreign host.

Not the answer you're looking for? Browse other questions tagged .