Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 09:08:25 -0500
From:      "james taylor" <jltaylor@metrotel.net>
To:        <questions@freebsd.org>
Subject:   redirect_address natd error
Message-ID:  <000a01c0f024$7c6708b0$564e2104@tnpp.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I keep getting: "...unable to bind divert socket: address already in use..." when I try to use the -redirect_address or -redirect_port function.


basically here's what I've got:


interfaces rl0,rl1,rl2
ipaddresses 8.31.78.82,192.168.0.105,192.168.250.1
running: natd, squid, named,sendmail,ipfw,dummynet
gateway is 4.31.78.82

everything else works fine

when I try:
natd -redirect_address 192.168.250.2 4.31.78.82 -interface rl0
I get the error above.


All help appreciated.

James Taylor
jltaylor@metrotel.net
www.metrotel.net


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I keep getting: "...unable to bind divert socket: 
address already in use..." when I try to use the -redirect_address or 
-redirect_port function.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>basically here's what I've got:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>interfaces rl0,rl1,rl2</FONT></DIV>
<DIV><FONT face=Arial size=2>ipaddresses 
8.31.78.82,192.168.0.105,192.168.250.1</FONT></DIV>
<DIV><FONT face=Arial size=2>running: natd, squid, 
named,sendmail,ipfw,dummynet</FONT></DIV>
<DIV><FONT face=Arial size=2>gateway is 4.31.78.82</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>everything else works fine</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>when I try:</FONT></DIV>
<DIV><FONT face=Arial size=2>natd -redirect_address 192.168.250.2 4.31.78.82 
-interface rl0</FONT></DIV>
<DIV><FONT face=Arial size=2>I get the error above.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All help appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>James Taylor</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:jltaylor@metrotel.net">jltaylor@metrotel.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://www.metrotel.net">www.metrotel.net</A></FONT></DIV>;
<DIV>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c0f024$7c6708b0$564e2104>