I need to add a new route on solaris10 machine.
I want that all traffic on the 23 port (telnet) use 192.168.200.1 gateway.
How I do ?
Thank you in advance.
I need to add a new route on solaris10 machine.
I want that all traffic on the 23 port (telnet) use 192.168.200.1 gateway.
How I do ?
Thank you in advance.
Standard IP routing will not allow you to route based on port numbers. I think you will have to use IP Filters instead. The "to" option sounds like what you need. From "man -s 4 ipf": to Causes the packet to be moved to the outbound queue on the specified interface. This can be used to circumvent kernel routing decisions [...]
I've never actually used IP Filters, so I can't be of any more help.