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 10-12-2015, 05:13 AM   #1
Shahid nx
Member
 
Registered: Jan 2012
Posts: 46

Rep: Reputation: Disabled
How to configure ip routing table to receive message at different Ip and send respons


I got a issue which is related to SCTP handshaking. To re-produce my issue, i want to do set-up which something looks like below. Client Initiates a INIT request to IP-A, but gets the response INIT_ACK for this request from IP-B. Is it somehow possible to configure server routing table entry to receive request to one Ip, and gives response from different IP.?

I have never done configurations for IP table , subnet/valn etc, so please assist.
 
Old 10-13-2015, 02:33 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
IPTABLES would look something like this:

Code:
iptables -t nat -A PREROUTING -p tcp -d IP-A --dport port -j DNAT --to-destination IP-B
 
1 members found this post helpful.
  


Reply

Tags
multihomed, sctp, subnet, vlan



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
Configure sendmail to only send/receive mail to one domain sk2code Linux - General 1 04-27-2014 07:15 AM
LXer: How to : Configure Thunderbird in Ubuntu 11.10 to Send & Receive Mails of Gmail Account LXer Syndicated Linux News 0 12-04-2011 10:30 PM
view or configure routing table Gofloss2003 Linux - Networking 2 11-28-2008 12:58 AM
view or configure routing table Gofloss2003 Linux - Newbie 4 11-28-2008 12:15 AM
Configure routing table to reach a zone from the global one crisostomo_enrico Solaris / OpenSolaris 2 03-12-2008 04:27 AM

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

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