• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Tomato Port Forwarding by Hostname?

wbynum

Senior member
Is it possible to make Tomato forward ports to different internal IP's by incoming hostname? For example, if a request for "host1.no-ip.org" comes in on port 22 from the WAN interface it would forward to IP 192.168.1.200 on the LAN while a request for "host2.no-ip.org" coming in on port 22 from the WAN would forward to IP 192.168.1.201. Is this possible?

If not possible, what are some free workarounds to make hostname forwarding work? I want to get away from what I am having to do today which is having to set external ports differently for each box (i.e. box A entry forwards port 22 to port 22 while box B entry has to forward port 23 to port 22). Thanks.
 
That's an application layer feature. The router doesn't know what hostname you used, just that you came in on IP x.x.x.x on port YY so it forwards a packet accordingly. You could possibly use a reverse proxy to do that, but it depends on the proxy and the protocol.
 
Back
Top