Web Server and FTP Server

You can easily set up a web server or a ftp server coexisting with ComSocks proxy server. By this way you only need one IP address for those servers. If you run the web server on the same host along with Comsocks, you need to configure HTTP daemon and define a different proxy port other than 80 (i.g. 8080). In this case the server is not behind the firewall. If you run the web server or ftp server on a different host, you need to add a port mapping for each of them since you are running them behind Comsocks. The gateway IP address should be fixed and not be dynamically assigned otherwise it may change at the next time. You also need to uncheck the option <Use this proxy IP for all daemons and port mappings> in the General Tab. Here is an example for the port mapping.

HTTP Web Server:

Port Mapping’s Name
:
Web Server Port Mapping
Proxy IP Address: Proxy Port
:
fixed_Internet_ip : 80
Destination Name or IP
:
local web server’s host or IP, i.g. 192.168.0.2
Destination Port
:
80 (your web server’s port)
Messages come from sender’s Port
:
0
Proxy server uses this Port to send messages
:
0
Transport
:
tcp
Rule
:
general
Bi-directional UDP mapping
:
[blank]

FTP Server:

Port Mapping’s Name
:
FTP Server Port Mapping
Proxy IP Address: Proxy Port
:
fixed_Internet_ip : 21
Destination Name or IP
:
local ftp server’s host or IP, i.g. 192.168.0.2
Destination Port
:
21 (your ftp server’s port)
Messages come from sender’s Port
:
0
Proxy server uses this Port to send messages
:
0
Transport
:
tcp
Rule
:
FTP
Bi-directional UDP mapping
:
[blank]