Menu

#21 nat portfw commands ignored silently

open
nobody
None
5
2007-07-27
2007-07-27
Anonymous
No

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.

Discussion

  • Costa Tsaousis

    Costa Tsaousis - 2007-07-27
    • labels: 443835 -->
     
  • Costa Tsaousis

    Costa Tsaousis - 2007-07-27

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.