Simple answer:
Setting my-ip will affect any listen-command (as well as any outbound connection apart from the socket-command) executed
after it has been set, it will however
not affect any previous sockets.
Some further info, perhaps not directly related to topic:
With some care, you could craft some more advanced setups..
Imagine your server has several subnets routed to it, such as 10.1.1.253 and 192.168.73.18. Then you could do a setup such as this:
Code: Select all
set my-ip 10.1.1.253
listen 4432 bots
set my-ip 192.168.73.18
listen 5213 users
unset my-ip
Here bots will have to connect to a completely different ip than normal users, making it alittle more complicated to join a rogue bot..
Meanwhile, it will still rely on the host's routing-tables for outbound connections.