Re: How to specify the local ip address to connect from

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Thu, 18 Oct 2012 04:18:00 +0200
Marten Lehmann <[email protected]> wrote:

> How can I set the local ip address / interface that FreeTDS connects 
> from to the remote database host?

There is no facility in FreeTDS to control which interface is used.  I
cannot offhand think of any way to control that using the standard
socket interface i.e. connect(2).   That sort of thing would be
governed by the routing tables within the machine hosting the FreeTDS
application.  

If I may ask, what prompts you to introduce a firewall between your
webserver and your database server?  Surely the database server is on
a network not accessible from the outside?  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.