7
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
9
TITLE="FreeTDS User Guide"
10
HREF="index.htm"><LINK
12
TITLE="Advanced Configurations"
13
HREF="configs.htm"><LINK
15
TITLE="TDS Connection Pooling"
16
HREF="tdspool.htm"><LINK
18
TITLE="How to get what works with it working"
19
HREF="software.htm"></HEAD
41
> User Guide: A Guide to Installing, Configuring, and Running <SPAN
59
>Chapter 5. Advanced Configurations</TD
83
HREF="mailto:bradleyb@u.washington.edu"
89
>To set up freetds over stunnel between a Linux webserver and a W2k SQL server:
97
>Get unencrypted freetds working</P
101
>Install openssl and stunnel on the Linux box:
103
HREF="http://www.stunnel.org/"
112
HREF="http://www.stunnel.org/download/binaries.html"
115
> and openssl dll's for Windows.
120
>Generate stunnel.pem (complete with Diffie-Hellman parameters) for
121
placement on the W2k box. See <A
122
HREF="http://www.stunnel.org/faq/certs.html"
125
> in the stunnel FAQ.
130
>Start stunnel on the W2k box:</P
139
>stunnel.exe -d 61666 -r localhost:1433</B
144
>61666 is just an arbitrary port number.
149
>Start stunnel on the Linux box:
159
>stunnel -c -d 1433 -r <TT
174
> is the hostname or IP address of the W2k box.
179
>Set up freetds to use the tunnel. If this is your unencrypted entry in
188
NAME="E.G.UNENCRYPTED"
192
>Example 5-7. Unencrypted entry in <TT
198
CLASS="PROGRAMLISTING"
204
> the encrypted equivalent uses:
213
>Example 5-8. Encrypted entry in <TT
219
CLASS="PROGRAMLISTING"
267
>TDS Connection Pooling</TD
280
>How to get what works with it working</TD
b'\\ No newline at end of file'