I want to understand the concept

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

 




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