> > map fxp0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
> > map fxp0 192.168.0.0/24 -> 210.82.47.237/32

the rules should be
map xl0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
    ^^^
map xl0 192.168.0.0/24 -> 210.82.47.237/32
    ^^^


-----Original Message-----
From: "Shepherd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Wed, 3 Sep 2003 15:14:19 +0800
Subject: Re: "no route to host"

> These are result of troucroute some ip:
>  1  210.82.47.238 (210.82.47.238)  0.706 ms  0.593 ms  0.550 ms
>  2  210.82.12.254 (210.82.12.254)  1.057 ms  0.948 ms  0.936 ms
>  3  210.82.12.9 (210.82.12.9)  0.738 ms  0.644 ms  0.638 ms
>  4  210.82.1.30 (210.82.1.30)  0.929 ms  0.873 ms  0.849 ms
>  5  * * *
>  6  * * *
>  7  * * *
>  8  *
> 
> ----- Original Message ----- 
> From: "Shepherd" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 02, 2003 3:54 PM
> Subject: "no route to host"
> 
> 
> > I am on FreeBSD 4.8 with 2 network adaptors:
> > ifconfig_fxp0="inet 192.168.0.5  netmask 255.255.255.0"
> > ifconfig_xl0="inet 210.82.47.237  netmask 255.255.255.252"
> > defaultrouter="210.82.47.238"
> > 
> > fxp0 to switch of my company, and xl0 to ISP.
> > When I ping www.google.com, it reports "no route to host" or sometimes 
> > "communication
> prohibited by filter". And at this time I couldn't ssh to this machine.
> > 
> > ipf.rules:
> > pass in all
> > pass out all
> > 
> > ipnat.rules:
> > map fxp0 192.168.0.0/24 -> 210.82.47.237/32 portmap tcp/udp auto
> > map fxp0 192.168.0.0/24 -> 210.82.47.237/32
> > 
> > Where am I wrong?
> > 
> > Thanks.
> > 
> > Shepherd
> > 
> > 
> 

Reply via email to