|
Surrogate Socket provides static mapping and not dynamic mapping. For this reason, when using Surrogate Socket with an SMTP/POP3 Email server located behind the proxy server, you must use an SMTP Email Relay Agent. You can use the IIS 4.0 SMTP service for this purpose.
To set up Surrogate Socket for use with the IIS 4.0 SMTP service, you will need the following information:
- Your proxy server's external IP address.
- Your proxy server's internal IP address.
- Your internal SMTP/POP3 server's IP address.
You will need to define two separate mappings for SMTP to work correctly:
|
Protocol |
Listen Address |
Listen Port |
Connect Address |
Connect Port |
|
TCP |
Proxy server external address |
25 |
Internal SMTP/POP3 server IP address |
25 |
|
TCP |
* |
110 |
Internal SMTP/POP3 server IP address |
110 |
Configure the IIS SMTP service to use the proxy server's internal IP address only.
Once you have setup your mappings, you must reconfigure your internal SMTP email server to use the proxy server's internal IP address as a relay agent.
OR
You can use your Internet service provider's SMTP relay agent or other SMTP relay agent to forward the SMTP data of your email server.
To set up Surrogate Socket to use an external SMTP service, you will need the following information:
- Your proxy server's external IP address.
- Your proxy server's internal IP address.
- Your internal SMTP/POP3 server's IP address.
- The IP address of the external SMTP relay agent.
You will need to define three separate mappings for SMTP to work correctly:
|
Protocol |
Listen Address |
Listen Port |
Connect Address |
Connect Port |
|
TCP |
Proxy server internal address |
25 |
External SMTP relay agent IP address |
25 |
|
TCP |
Proxy server external address |
25 |
Internal SMTP/POP3 server IP address |
25 |
|
TCP |
* |
110 |
Internal SMTP/POP3 server IP address |
110 |
Once you have set up the mappings you need to configure your email server to use the proxy server's internal
|