LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2012, 07:53 AM   #1
newbie_ubu
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Rep: Reputation: Disabled
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
 
Old 01-01-2013, 07:07 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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.
 
  


Reply

Tags
dos, iptables



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
prevent denial of service redirect to another machine newbie_ubu Linux - Newbie 1 12-30-2012 02:28 PM
Faillog- Denial of Service Attack Possible? dman777 Linux - Security 3 09-04-2011 07:23 AM
how does mktemp prevent denial-of-service attack seaker79 Linux - Security 1 04-22-2010 06:56 AM
Troubleshooting Denial of Service vbsaltydog Linux - General 4 07-24-2008 11:51 PM
Denial Of Service Attacks Ozzman Mandriva 13 11-13-2003 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration