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 _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
