LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2011, 12:35 AM   #1
gowtham92
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Packet Redirection


HI LQ,

I need to redirect packets from one system to other system in a same network.

suppose if a system (say A) receives large amount of attack packets from(say B) , it needs to redirect those packets to some other system (say C) which is in the same network.

Pls help me to implement this.
 
Old 12-06-2011, 01:52 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Well what specifically do you want to know..

There isn't enough information in your post to really be able to help.

What are you trying to acheive?
 
Old 12-06-2011, 06:58 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
How are you going to differentiate between 'attack packets' and the other sort (non-attack, presumably) of packets? And why do you want to redirect rather than just drop them?
 
Old 12-06-2011, 01:13 PM   #4
mehdi.sadighian
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 1
external interface = eth1
protocol = tcp
port = 80
server = 192.168.100.1
another computer= 192.168.100.200

iptables -t nat -A PREROUITNG -i eth1 -d 192.168.100.1 -p tcp --dport 80 -j DNAT --to 192.168.100.200
 
1 members found this post helpful.
  


Reply



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
[SOLVED] I've got an odd PPPoE packet redirection networking problem royce2020 Linux - Networking 12 02-11-2010 03:14 PM
Outgoing Packet Redirection Using iptables (FC6) neothephoenix Linux - Server 8 04-25-2008 07:20 AM
dmesg Invalid packet / INPUT packet died flood H_TeXMeX_H Slackware 5 11-12-2007 02:52 PM
A packet filter using libipq which uses ether type field to capture the packet can26_manish Programming 2 10-16-2007 05:35 AM
Packet Filter to redirect a packet to a user level process akawale Linux - Networking 3 09-01-2006 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:33 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