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 

Multiple external ip addresses

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
peterlin



Joined: 30 Sep 2011
Posts: 3

PostPosted: Fri Oct 07, 2011 9:44 am    Post subject: Multiple external ip addresses Reply with quote

I have compiled version 1.6 with MULTIPLE_EXTERNAL_IP defined, and when testing with upnpc ... -s it does present the correct external ip address.

However my DNAT rules still look like this:

target prot opt source destination
DNAT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:1024 to:172.16.11.195:1024


This means that port 1024 is open on all the external ip addresses (nmap confirms this). This may not be that big of a problem, but prevents different internal VLANs to re-use the same port (im SNATing one external ip address to one specific VLAN). If "destination" can be the external ip address, i think it would work. But i'm no iptables expert Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation 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.