bugNAT Port Map daemon - Bugs: bug #29030, replace APPEND to INSERT

 
 

bug #29030: replace APPEND to INSERT

Submitted by:  zamir <zamir>
Submitted on:  Mon 01 Mar 2010 08:34:39 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 07 Mar 2010 06:07:21 AM UTC, comment #2:

example:
1. static port translation
2. upnp port translation
3. global nat translation

iptables -t nat -N STATIC
iptables -t nat -A STATIC -j RETURN

iptables -t nat -N UPNP
iptables -t nat -A UPNP -j RETURN

iptables -t nat -A PREROUTING -j STATIC
iptables -t nat -A PREROUTING -j UPNP
iptables -t nat -A PREROUTING <global translation rule 1>
iptables -t nat -A PREROUTING <global translation rule 2>
iptables -t nat -A PREROUTING <global translation rule 3>

zamir <zamir>
Sat 06 Mar 2010 09:19:24 PM UTC, comment #1:

Why do you need a -j RETURN? Return is the default behaviour when reaching the end of a user-defined chain. Do you have any special case, where this does not work for you?

Adrian Friedli <adi86>
Project Administrator
Mon 01 Mar 2010 08:34:39 AM UTC, original submission:

please change iptables rules:
change_dnat_rule('A', protocol, public_port, client, private_port);

to:
change_dnat_rule('I', protocol, public_port, client, private_port);

for purpose return from chain:
iptables -A natpmp -j RETURN

zamir <zamir>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by adi86 (Posted a comment)
  • -unavailable- added by zamir (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1