3

Linux routing by requested name

view full story
linux-howto

http://serverfault.com – I've asked this on another SE site, but I don't think I was clear enough. So, I will try it here. As an example - I have 2 domains (acme.com, ajax.com). Both resolve to my single static IP. Meanwhile, my router routes all port 22 traffic (SSH) to a Linux server (192.168.1.21). What I would like to do (if this is possible) is to make acme.com THE url for SSH. I realize all of the traffic is routed to .21 (the router doesn't know about names), but is there some way to instruct Linux to reject port 22 requests when the name requested is ajax.com? In other words, is there any way to ask Linux to s (HowTos)