Re: Help! NAT unable to routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo Yan,

On Thu, 30 Oct 2003 17:12:47 -0700
"Han, Yan" <hany@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 
> Hi! 
> 
> I am using IPTables to do some re-routing tests. Basically I try to
> re-route the traffic from one box to another box. But it failed (not
> forwarding, but timeout). Can anyone point to what errors about my
> script.  p.s. I did open forward (net.ipv4.ip_forward = 1) in Linux.
> 
> 
> #set the dafault policies; 
> iptables -P INPUT DROP
> iptables -P OUTPUT ACCEPT
> iptables -P FORWARD ACCEPT
> 
> # what is wrong ??
> iptables -t nat -A PREROUTING -i eth0 -p tcp -d 150.135.44.245 --dport 80 -j
> DNAT --to 150.135.45.96

what is the ip address of the firewall?
Is there a route which says that net 150.135.44.0/24 (or similar) is

Gruß
  Jörg

-- 
Jörg Schütter           http://www.lug-untermain.de/
joerg@xxxxxxxxxxxxx     http://www.schuetter.org/joerg/
ICQ: 298982789          http://mypenguin.bei.t-online.de/




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux