RE:I want to understand the concept

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

 



Dear :
      you need to read the Russel's Linux NAT How To guideline.
Best Regards.
Alninuo Lee


                                                                                                                                                
                      Linux linux                                                                                                               
                      <khankhn1@xxxxxxxxx>              收件人:  netfilter@xxxxxxxxxxxxxxxxxxx                                                 
                      寄件人:                          副本抄送:      khankhn1@xxxxxxxxx, rhce.rhct@xxxxxxxxx, nomankhn@xxxxxxxxx             
                      netfilter-bounces@xxxxxxxx        主旨:    I want to understand the concept                                              
                      tfilter.org                                                                                                               
                                                                                                                                                
                                                                                                                                                
                      2006-02-05 16:54                                                                                                          
                                                                                                                                                
                                                                                                                                                







Hello?

I want to understand the difference b/w following
things

Q1. What is the difference b/w these 2 command

iptables -A FORWARD -s 192.168.0.1 -j DROP
iptables -t mangle -A FORWARD -s 192.168.0.1 -j DROP

what is the difference b/w

FORWARD of filter table?
FORWARD of mangle table?

Q2. What is the difference b/w POSTROUTING and
PREROUTING?

Q3. What is the difference b/w SNAT and DNAT?


Q4. What is the difference b/w that

How i can understand

FOR FILTER TABLE?

what is my source in FORWARD chain of FILTER table
what is my dstination in FORWARD chain of FILTER table

what is my source in INPUT chain of FILTER table
what is my dstination in INPUT chain of FILTER table

what is my source in OUTPUT chain of FILTER table
what is my destination in OUTPUT chain of FILTER table

FOR NAT TABLE?

what is my source in INPUT chain of MANGLE table
what is my dstination in INPUT chain of MANGLE table

what is my source in FORWARD chain of MANGLE table
what is my dstination in FORWARD chain of MANGLE table

what is my source in OUTPUT chain of MANGLE table
what is my destination in OUTPUT chain of MANGLE table

what is my source in PREROUTING chain of MANGLE table
what is my destination in PREROUTING chain of MANGLE
table

what is my source in POSTROUTING chain of MANGLE table
what is my destination in POSTROUTING chain of MANGLE
table


FOR NAT TABLE?

what is my source in OUTPUT chain of NAT table
what is my destination in OUTPUT chain of NAT table

what is my source in PREROUTING chain of NAT table
what is my destination in PREROUTING chain of NAT
table

what is my source in POSTROUTING chain of NAT table
what is my destination in POSTROUTING chain of NAT
table


Regards
Khan










__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.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