Re: dnat problem

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

 



On Sat, 2005-01-22 at 10:59, Pablo Allietti wrote:
> hi all
> 
> i have a problem with dnat i have this struc.
> 
> 
> 		|
> 		|internet
> 		|
> 		Firewall 200.20.43.2
> 		|
> 		|
> 		|
> 		Server 192.168.1.143
> 
> 
> and i have this rule in the firewall.
> 
> iptables  -t nat -A PREROUTING -i eth0 -p tcp --dport 2244  -j DNAT
> --to-destination 192.168.1.143:22
> 
> i supouse this rule make a dnat to server 192.... to ssh but nothing
> happends
> 
> i do ssh -p2244 200.20.43.2  but nothing respond
> 
> what i miss ? :(

and you have a FORWARD rule that looks like:

  iptables -A FORWARD -i eth0 -p tcp -d 192.168.1.143 --dport 22 \
    -j ACCEPT

yes?

-j

--
"Kids, you tried your best and you failed miserably. The lesson is,
 never try."
	--The Simpsons



[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