This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

redirection

Im a network newbie, and have a likely basic networking question.

I have an Astaros ASG 110, and I want to know how to forward requests to different machines that use the same port for a service.

I am connected to the internet via cable modem, and have setup a dynamic ip for each machine in my network (note that the ip address is same for all machines).

So in a nutshell, how do I direct requests based on named machine, so that an ssh request for server 1 goes there, and an ssh request for server 2 goes to that machine, etc.

Thanks!
Phil


This thread was automatically locked due to age.
Parents Reply Children
  • Thanks for the link.  I had actually started here but ran into problems setting up dnats:



    I've setup dnats for my pos machine, webserver, vncserver, ssh, but the 110 firewall isnt forwarding anything through, regardless of what I allow through.

    Any suggestions above that what was suggested in the above thread would be greatly appreciated.
  • Can you post an example of a rule you have created?

    In the packet filter log are you seeing the traffic being allowed or dropped? (in order to see the traffic being allowed you will need to create a manual packet filter rule and enable logging for the rule)
  • If you only have one IP, you'd need to use different ports for the 2 ssh servers... e.g. 2222 and 2223, or whatever.

    Then, DNAT those ports to port 22 on the dest machines, and add a packetfilter rule allowing traffic to the internal IPs.

    The only service I know of that can recognize traffic by hostname is HTTP 1.1.

    Barry