Allow SSH only on one of a servers IP addresses
I have two IP addresses, IP1 and IP2. Currently I have set sshd to listen on port 22 and port 443. The problem is that it listens on both these ports on both IP addresses. Is it possible to listen just on port 22 on IP1 and listen on both port 22 and 443 on IP2? If so, how?
I am running Ubuntu 10.04 server.