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

 
 

bug #29030: replace APPEND to INSERT

Submitter:  zamir <zamir>
Submitted:  Mon 01 Mar 2010 08:34:39 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code