ispCP - Board - Support
Redirecting traffic to another server. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Redirecting traffic to another server. (/thread-7146.html)



Redirecting traffic to another server. - kurdak - 07-07-2009 07:48 AM

Hello.
I have only one external IP address.
Server A has internal IP 192.168.0.1, has released all the ports.
Server B is the internal ip 192.168.0.2.
On the server A and B is installed ISPCP.
I'd like to redirect traffic from server A to server B, when they enter one of my domains.
I would also like to have access to SSH, FTP, SMTP, POP3, IMAP on the server B.
How do I set the server and that all this work.

Sorry for my poor english, and thank you for your help.


RE: Redirecting traffic to another server. - kilburn - 07-07-2009 04:35 PM

I'm sorry, but what you're trying to achieve is -almost- impossible, by the nature of NAT and not as an ispcp limitation. There are only two possible ways:

1. Setup proxies for each service, that redirect traffic based on the destination domain or username (most of them doesn't allow "name based virtual hosting").

2. Setup your router's NAT table so some non-standard ports map to the second server. This way you would be able to connect through them (like YOUR.EXT.ERNAL.IP port 222 connects to 192.168.0.2 22, etc.)