choose IP for SNAT programatically

This is a discussion on choose IP for SNAT programatically within the Linux Networking forums, part of the Linux Forums category; Hi! I have a following problem. There is a router with 5 assigned external IP's. The router uses SNAT ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2004
Grzegorz Sowa
 
Posts: n/a
Default choose IP for SNAT programatically

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0