View previous topic :: View next topic |
Author |
Message |
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Mon Mar 01, 2010 9:00 am Post subject: iptables "APPEND" or "INSERT" |
|
|
please, add capability INSERT nat rule in lieu of APPEND nat rule
for purpose use return rule in end line:
iptables -t nat -A upnp -j RETURN |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Wed Mar 03, 2010 11:14 am Post subject: |
|
|
I'm no iptables expert so I dont really understand what you want. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Wed Mar 03, 2010 11:20 am Post subject: |
|
|
you could edit netfilter/iptcrd.c file and change call to iptc_append_entry() at line 530.
iptc_insert_entry() take an additionnal argument, the position for insertion. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Thu Mar 04, 2010 7:12 am Post subject: |
|
|
yes, this that necessary (with insert position 1)
It can be possible to make an option in a file of a configuration for behaviour change?  |
|
Back to top |
|
 |
|