Port redirection is working fine for the one service. After trying and trying for about a week, (I really hate to have to bother everybody), I must give up again. Here is the problem, I have it redirecting traffic to an internal ftp server, which works fine. I use this option in rc.conf (or enter it at command line):
-redirect_port tcp 192.168.0.25:20-21 public.ip.adress:20-21 -interface xl1
Which works.
Now, if I try to pass another option for another system running telnet, I get an error, I type this:
natd -redirect_port tcp 192.168.0.22:23 pub.ip.addr:2003 -interface xl1
I have tried numerous port numbers on the public side, but with the same error:
natd:Unable to bind divert socket.:Address already in use
According to all documentation, I can simply enter more than one option, so this shouldn't be an issue. What is interesting is that if I create a natd.cf file and use that for my options with the two options listed, I don't get any errors at startup, and natd will pass on to the first option listed in the file, but the second service does not work. If I enter the ftp option first and telnet second, ftp works, telnet still doesn't) I am at real loss here, it makes no sense to me. If anybody has any clue as to what might be happening, anything, I would really appreciate help. Thanks alot.
-redirect_port tcp 192.168.0.25:20-21 public.ip.adress:20-21 -interface xl1
Which works.
Now, if I try to pass another option for another system running telnet, I get an error, I type this:
natd -redirect_port tcp 192.168.0.22:23 pub.ip.addr:2003 -interface xl1
I have tried numerous port numbers on the public side, but with the same error:
natd:Unable to bind divert socket.:Address already in use
According to all documentation, I can simply enter more than one option, so this shouldn't be an issue. What is interesting is that if I create a natd.cf file and use that for my options with the two options listed, I don't get any errors at startup, and natd will pass on to the first option listed in the file, but the second service does not work. If I enter the ftp option first and telnet second, ftp works, telnet still doesn't) I am at real loss here, it makes no sense to me. If anybody has any clue as to what might be happening, anything, I would really appreciate help. Thanks alot.