freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] How to specify the local ip address to connect from
- From: Steven Peterson <speterson AT listpilot.com>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] How to specify the local ip address to connect from
- Date: Mon, 29 Oct 2012 12:19:44 -0400
I have exactly the same issue and am looking for a solution. It is quite
common to have a linux server with multiple IP addresses and only one of
the IPs whitelisted by an external database server. Many database drivers
and linux utilities provide the capability to specify the bindAddress,
which is the IP address from which the request is sent.
That being said, what strategies for working around this have people found
work best? 'ip route'? 'iptables'? Something easier?
- Steve Peterson
Hello, I'm using FreeTDS to connect to a MS SQL Server. This worked fine on
the development host, because only the one single IP address of it had to
be whitelisted in the firewall of the MS SQL Server. But on the production
server, several aliased network interfaces with different IP addresses are
set up and the web application is obviously not connecting through the main
interface, which is already whitelisted. How can I set the local ip address
/ interface that FreeTDS connects from to the remote database host?
Kind regards
Marten Lehmann
-
[freetds] How to specify the local ip address to connect from,
Marten Lehmann, 10/17/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/18/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Marten Lehmann, 10/18/2012
- Re: [freetds] How to specify the local ip address to connect from, Frediano Ziglio, 10/18/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Marten Lehmann, 10/18/2012
- <Possible follow-up(s)>
-
Re: [freetds] How to specify the local ip address to connect from,
Steven Peterson, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Steven Peterson, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Steven Peterson, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Peter Deacon, 10/29/2012
- Re: [freetds] How to specify the local ip address to connect from, Steven Peterson, 10/30/2012
- Re: [freetds] How to specify the local ip address to connect from, James K. Lowden, 10/30/2012
- Re: [freetds] How to specify the local ip address to connect from, Frediano Ziglio, 10/30/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Peter Deacon, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Steven Peterson, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
Steven Peterson, 10/29/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/29/2012
- [freetds] firewalls (Re: How to specify the local ip address to connect from), Craig A. Berry, 10/30/2012
-
Re: [freetds] How to specify the local ip address to connect from,
James K. Lowden, 10/18/2012
Archive powered by MHonArc 2.6.24.