Skip to contentSkip to conversation

Mangle

DISCUSSION Murugavel Thiruvengadam 3 participants 3 messages Jul 19, 2004

lore
Share & tools
lore
#0 lore raw

we have few clients connected in LInux firewall

switch ---- firewall--------internet
| | |
200pcs | pvtip pubip

all -- * * 0.0.0.0/0 0.0.0.0/0
SMANG --to-ip <PUBLIC IP>

-A FORDNS -j SMANG --to-ip PUBLIC Ip

while sending a request to DNS we are using (mangle.) client's source port . the same port we are using to send a request to dns. while coming back. assume that 3 person used the same port. DNS return traffice not going to respective client. can anyone please advise.

it was working fine with nat. we are right now using mangle

Regards
TM

#1 lore raw
Quoted 8 lines · Murugavel Thiruvengadam

we have few clients connected in LInux firewall

while sending a request to DNS we are using (mangle.) client's source port . the same port we are using to send a request to dns. while coming back. assume that 3 person used the same port. DNS return traffice not going to respective client. can anyone please advise.

it was working fine with nat. we are right now using mangle

What are you using the mangle table for? Why are you using the mangle table
instead of the nat table?

If you post your ruleset we may be able to offer some specific help.

Regards,

Antony.

Signature · 6 lines
The truth is rarely pure, and never simple.

 - Oscar Wilde

                                                     Please reply to the list;
                                                           please don't CC me.
#2 lore raw
In reply to Murugavel Thiruvengadam

Post yur iptables ruleset...
and y using mangle instead of nat
anything special ????

Regards,
Joel n.solanki
Systems Administrator
D2V ISP PVT LTD

Quoted 21 lines · Murugavel Thiruvengadam

we have few clients connected in LInux firewall

switch ---- firewall--------internet
| | |
200pcs | pvtip pubip

all -- * * 0.0.0.0/0 0.0.0.0/0
SMANG --to-ip <PUBLIC IP>

-A FORDNS -j SMANG --to-ip PUBLIC Ip

while sending a request to DNS we are using (mangle.) client's source port . the same port we are using to send a request to dns. while coming back. assume that 3 person used the same port. DNS return traffice not going to respective client. can anyone please advise.

it was working fine with nat. we are right now using mangle

Regards
TM