Hello, Can''t startup Shorewall , it show th fowlloing error: Setting up NAT... V1.2.11: Bad IP address ''192.168.0.2'' THx --------------------------------- Yahoo! 網上安全攻略,教你如何防範黑客! 了解更多 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It''s the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Wilson Kwok wrote:> Hello, > > Can''t startup Shorewall , it show th fowlloing error: > > Setting up NAT... > V1.2.11: Bad IP address ''192.168.0.2''This error comes from the iptables SNAT and DNAT modules when they cannot convert an IP address from dot-quad notation to an integer. Find that address in /etc/shorewall/nat, delete it and re-type it. I suspect that you have an invisible noise character embedded in the text. If that doesn''t help then we''ll need a trace. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It''s the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
On Thu, Mar 27, 2008 at 11:14:48AM -0700, Tom Eastep wrote:> Wilson Kwok wrote: > > Hello, > > > > Can''t startup Shorewall , it show th fowlloing error: > > > > Setting up NAT... > > V1.2.11: Bad IP address ''192.168.0.2'' > > This error comes from the iptables SNAT and DNAT modules when they cannot > convert an IP address from dot-quad notation to an integer. > > Find that address in /etc/shorewall/nat, delete it and re-type it. I suspect > that you have an invisible noise character embedded in the text.Usually a real backspace character that somehow went in literally rather than being interpreted by your editor, but your terminal then interpreted when printing the error message so you can''t see it (or paste it). Pipe the output of shorewall through ''od -a'' to reveal such things. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It''s the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace