LinuxQuestions.org
Review your favorite Linux distribution.
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 11-23-2011, 11:46 PM   #1
gg18
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
Linux as a router for SCTP and UDP packets


Hi Everybody,

TIA

I am searching a lot for any inbuild utility in linux to aact as a router to route packets from An IP + port to another IP+PORT combination. In NAT i can get only IP based forwarding. But I need
packets coming from IP1 Port 1 to redirect to Ip5,port 5 and from IP1 port 2 to IP6 port6 combination.

I could find rinetd utility on more searching, but this is restricted only to TCP , however I need application for SCTP and UDP packets.

Pls help me in this

Thanks
GG
 
Old 11-25-2011, 10:45 AM   #2
vickyk
Member
 
Registered: Dec 2009
Posts: 38

Rep: Reputation: 6
Try iptables

Check the 3rd example of the following link.

http://www.cyberciti.biz/faq/linux-p...with-iptables/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
UDP, linux and packets greater than 1500 bytes pabloski Linux - Networking 2 01-04-2011 08:25 AM
udp packets cause kernel oops in ip_push_pending_frames linux 2.6.23.5 bugsmakemylifehell Linux - Networking 1 03-02-2010 05:46 AM
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 08:28 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 03:53 PM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 06:43 AM


All times are GMT -5. The time now is 04:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration