Re: DNAT NOT WORKING

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

 



On December 24, 2003 05:24 am, madhav bhasin wrote:
> Hi,
>
> 	I installed latest vesion of iptables and pom from
> www.netfilter.org . They were installed and kernel was
> compiled sucessfully. all modules are loading
> properly. I just added three rules in nat table
> prerouting chain .and i am getting same error
> iptables: Invalid argument 3 times.
> rules are as follows
>
> $IT -t nat -A PREROUTING -p TCP -i $INET_IFACE -d
> &INET_HTTP  --dport 80 -j DNAT --to $DMZ_HTTP
>
> $IT -t nat -A PREROUTING -p TCP -i $INET_IFACE -d
> &INET_DNS  --dport 53 -j DNAT --to-destinaion $DMZ_DNS
> $IT -t nat -A PREROUTING -p UDP -i $INET_IFACE -d
> &INET_DNS  --dport 53 -j DNAT --to-destinaion $DMZ_DNS
>
> KERNELVERSION -> 2.4.20-8
> IPTABLES -> 1.2.9 "I DOWNLOADED BUT AFTER COMPILING IT
> SHOWS IPTABLES-1.2.7a"
> PATCH-O-MATIC ->20030912


	You likely now have two copies of the iptables suite.
	One is likely in /usr the other is probably in /usr/local.

	

>
> Please try to help me. I'll be really thank full to
> you
> Madhav
>
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/


[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