Ok so I got all the port stuff figured out but I am still stuck with
this error:

Configuring NAT
7: Can't resolve hostname: xl0
7: Syntax error in "rdr"
8: Can't resolve hostname: xl0
8: Syntax error in "rdr"
9: Can't resolve hostname: xl0
9: Syntax error in "rdr"
10: Can't resolve hostname: xl0
10: Syntax error in "rdr"

Here are my NAT rules...

# Redirect rules
rdr xl0 xl0/32 port 21 -> 10.10.1.10 port 21
rdr xl0 xl0/32 port 80 -> 10.10.1.10 port 80
rdr xl0 xl0/32 port 673 -> 10.10.1.10 port 673
rdr xl0 xl0/32 port 1723 -> 10.10.1.5 port 1723

#Map rules
map xl0 10.10.1.0/24 -> xl0/32 proxy port ftp ftp/tcp
map xl0 10.10.1.0/24 -> xl0/32 proxy port 673 ftp/tcp
map xl0 10.10.1.0/24 -> xl0/32 portmap tcp/udp 10000:20000
map xl0 10.10.1.0/24 -> xl0/32

So is anything wrong here?  The adapter xl0 is my public adapter and is
set for DHCP so hard coding IP addy's sin't an option.  This is driving
me insane!  Any help is greatly appreciated.

Geoff Sweet



On Mon, 2002-06-10 at 23:48, Phil Dibowitz wrote:
> Geoff Sweet wrote:
> 
> > 51: cannot use port and neither tcp or udp
> 
> 
> Very self-explanitory. You used 'port' but you didn't use 'tcp' or 'udp'... 
> you have to use 'tcp' or 'udp' (or 'tcp/udp') if you use 'port')
> 
> 
> 
> > writing to routing socket: File exists
> 
> 
> Dunno.. sure this is IPF?
> 
> 
> > configuring NAT
> 
> 
> This is obvious.
> 
> 
> > 4 entries flushed from NAT table
> > 
> > 4 entries flushed from NAT list
> 
> 
> Normal.
> 
> 
> > 7: can't resolve hostname: xl0
> > 
> > 7: syntax error in "rdr"
> 
> > 
> > 8: can't resolve hostname: xl0
> > 
> > 8: syntax error in "rdr"
> > 
> > 9: can't resolve hostname: xl0
> > 
> > 9: syntax error in "rdr"
> > 
> > 10: can't resolve hostname: xl0
> > 
> > 10: syntax error in "rdr"
> 
> 
> Show us your rules, they're most likely incorrect.
> 
> 
> > filter sync'd
> 
> 
> Output of 'ipf -y'
> 
> 
> Phil
> 
> -- 
> "They that can give up essential liberty to obtain a little temporary safety 
> deserve neither liberty nor safety."
> -Benjamin Franklin, 1759
> 


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to