nat portfw commands ignored silently
Brought to you by:
ktsaou,
philwhineray
I've spent last 3 hours trying to get few UDP ports forwarded in simple NAT environment. I thought the process should be at max. 5 minute job. I was very wrong.
For reasons that I do not understand, any of the commands that I've tried (nat to-destination, dnat) do not make any rules into iptables. And what's wrong with this is that it does that completely silently. I would expect that if there are no complains, iptables were generated properly.
Logged In: YES
user_id=582393
Originator: NO
If you have ubuntu, there is a master config somewhere in /etc which make firehol not work at all (and silently) if you don't enable it.
If you have another distribution, try running:
firehol explain
and give it the dnat statement.
If it does not generate rules, you may have a broken BASH. Try reinstalling it.
If none of the above matches your case, tell me what you are trying to do and the statement that does not work for you.
Costa