Our office is connected to the Internet with high speed connection. Our ISP opened 5 ports for us. Their CISCO router forwards SMTP, POP3 and HTTP ports to Debian etch web/mail server in our local network. RDP and Kerio Winroute firewall VPN (port 4090) ports are forwarded to another WIn XP computer in our local network.
We would like to use more ports. Extra block of 5 ports that our ISP forwards is too expensive. Is it possible to establish some sort of port forwarding/translation so that requests to specified port are forwarded to another port based on domain name or some other query?
ssh.ourcompany.com:4090 forwards request to 192.168.1.1:22
imap.ourcompany.com:4090 forwards request to 192.168.1.10:143
I thank you for your ingenious answers in advance :). Solutions in windows or linux are fine.
They are only used to translate the to IP-Adresses. Routers don´t care about domainnames in Rule-Sets.
You could just open 1 ssh port to a box and then use this ssh connection as a tunnel.
When using e.g. putty you can easily configure ssh-tunnels.
You configure a tunnel for port 2222 to 192.168.1.10:143
to connect to the imap-server on 192.168.1.10 you have to connect to localhost:2222 which is then tunnel to the imap-server.
Bad english, I know, I´m not a native speaker.......