Networking Forums

Networking Forums > Computer Networking > Linux Networking > choose IP for SNAT programatically

Reply
Thread Tools Display Modes

choose IP for SNAT programatically

 
 
Grzegorz Sowa
Guest
Posts: n/a

 
      06-09-2004, 07:40 PM
Hi!
I have a following problem.
There is a router with 5 assigned external IP's. The router uses SNAT for
these addresses.
I want to develop an TCP/IP socket oriented application working on this
router which task is to send some messages to servers located in external
network (internet).

.... and the problem is that I want to choose IP for SNAT from the
application.

Does anybody know how to do it? Is there any patch for iptables to provide
such functionality by for instance setting special socket option?

Regards,
Grzesiek



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to snat merrittr Linux Networking 0 10-17-2007 08:59 PM
Configure tle wireless client of xp programatically Javier Martínez Wireless Networks 0 02-13-2006 10:40 AM
Programatically change IP Address ibondre@gmail.com Linux Networking 4 01-18-2006 08:05 PM
SNAT Kevin Brown Linux Networking 1 07-06-2005 09:30 PM
how to set SNAT? cranium.2003@gmail.com Linux Networking 0 05-09-2005 02:51 PM



1 2 3 4 5 6 7 8 9 10 11