LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   prevent denial of service redirect to another machine (http://www.linuxquestions.org/questions/linux-newbie-8/prevent-denial-of-service-redirect-to-another-machine-4175443468/)

newbie_ubu 12-30-2012 07:53 AM

prevent denial of service redirect to another machine
 
Hello all,

i have 2 pc like this:
pc1 192.168.0.1 port:80
pc2 192.168.0.2 port:80

I want when the user wants to access the web server, it will be displayed on the web server ip 192.168.0.1. But when anyone try to like as denial of service, it will be in direct to the ip 192.168.0.2.
So, how it configuration iptable in pc1(192.168.0.1)?

Thank you for your answer

jpollard 01-01-2013 07:07 AM

If you are in a denial of service attack, you can't redirect from the system under attack.

It needs to be done by the router above the two systems... but all that will do is redirect the attack (and any connections) to the other system.


All times are GMT -5. The time now is 09:30 PM.