Re: Static NAT

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

 



--- William Olbrys <william_olbrys@student.uml.edu>
wrote:
> echo -n "setting nat rules"
> $IPTABLES -t nat -A PREROUTING -s 0.0.0.0/0 -d
> 129.63.106.11 -j DNAT
> --to-destination 192.168.2.2
> $IPTABLES -t nat -A POSTROUTING -s 192.168.2.2 -d
> 0.0.0.0/0 -j SNAT
> --to-source 129.63.106.11
> echo " Done"
> 
> is this really possible?

Those rules look fine. What do you have in your
FORWARD chain?


=====
Kevin C. McConnell --RHCE-- <Red Hat Certified Engineer>

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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