Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jan 2006 20:57:37 -0600
From:      Laurence Sanford <lauasanf@wilderness.homeip.net>
To:        questions@freebsd.org
Subject:   natd -redirect_port question
Message-ID:  <43B896A1.1010005@wilderness.homeip.net>

next in thread | raw e-mail | index | archive | help
I have natd set up on a 4.10 box to get the rest of my network on the 
internet. I have an application that requires connections to be able to 
be established on a specific port. The problem is, sometimes I run this 
app on system A and sometimes on system B. The port stays the same. So 
in my rc.conf I have included in natd_flags -redirect_port tcp 
systemA:port port ; currently if I want to use the app on system B I'm 
having to reboot the natd box. Obviously this seems silly, however, I've 
found that trying to reset this information using a command line like: 
natd -n dc0 -redirect_port systemB:port port results in an errror 
stating redirect can't bind to that port, because it's already in use. 
I'm convinced I'm overlooking an easy way to change this redirect on the 
fly without having to reboot the natd box. Anyone care to point me the 
right direction? Thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B896A1.1010005>