miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

re

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request
View previous topic :: View next topic  
Author Message
WhiteD



Joined: 26 Jun 2008
Posts: 3

PostPosted: Thu Jul 03, 2008 3:43 pm    Post subject: re Reply with quote

Hm...
I don't know Smile

Now i have that:
# cat miniupnpd.conf
Code:

...
ext_ifname=re0
...

and that rules created
# pfctl -s nat -a miniupnpd
Code:
rdr pass on re0 inet proto tcp from any to any port = 26807 label "utorrent" rtable 0 -> 192.168.0.2 port 26807


And I want something like this:
# cat miniupnpd.conf
Code:

...
ext_ifname=re0 vr0
...

and created rules must be
# pfctl -s nat -a miniupnpd
Code:
rdr pass on re0 inet proto tcp from any to any port = 26807 label "utorrent" rtable 0 -> 192.168.0.2 port 26807
rdr pass on vr0 inet proto tcp from any to any port = 26807 label "utorrent" rtable 0 -> 192.168.0.2 port 26807


one for each interface. It can't be impossible Smile
Back to top
View user's profile Send private message
WhiteD



Joined: 26 Jun 2008
Posts: 3

PostPosted: Thu Jul 03, 2008 3:44 pm    Post subject: Reply with quote

oops. sorry. that is for my previous topic Smile
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Thu Jul 03, 2008 7:38 pm    Post subject: Reply with quote

I dont think that kind of "feature" should be in the official distribution.
I think you can do a quick patch by modifying the upnpredirect.c file : upnp_redirect_internal could call add_redirect_rule2 twice : once for each network interface.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.