View Single Post
  #2  
Old 23rd May 2011, 20:45
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

For ftp and ssh, you must define the port in ftp/ssh config file. Next, you must do a ftp/ssh port fordware to the internal IP of the server you want to connect.

ftp p21 -> 10.0.0.22
ftp p22 -> 10.0.0.23 (you will have to inform this ports to you clients, depending of which server them are allocated...

ssh p2222 -> 10.0.0.22
ssh p2223 -> 10.0.0.23

Next, with ssh you must point to the modem IP, specifying the port used in each ssh daemon...

If you want to use both server to allocate different sites, well... I think that you need to forward the http request to second server if you don't find the web on the first... I don't know if it is possible with your current diagram... maybe, MAYBE, if you put another server to manage requests for both servers, it could be possible...
Reply With Quote