Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If in Skype I've set Use port 15295 for incoming connections in the Options>Advanced menu.

1) Firstly, do I need to open forward this port on my home router? 2) Secondly, do I need to have an iptables rule to accept incoming connections on this port? e.g.

iptables -A INPUT -p UDP --dport 15294 -j ACCEPT
iptables -A INPUT -p tcp --dport 15294 -j ACCEPT

Or will the conntrack take care of things if I have rules

iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT

I should explain that Skype seems to work OK (I can video call) with just the conntrack (i.e. without forwarding 15294 on the router or allowing it in iptables) but I am trying to speed things up, and I am wondering if I am not getting a direct connection....

During a call if I do lsof -i -n -P I get

skype     3457    21u  IPv4  29503      0t0  UDP 127.0.0.1:44629 
skype     3457    33w  IPv4  78971      0t0  TCP 127.0.0.1:59910->127.0.0.1:8080 (ESTABLISHED
skype     3457    40u  IPv4  32813      0t0  TCP 192.168.1.79:50979->65.55.223.22:40036 (ESTABLISHED)
skype     3457    42r  IPv4  73175      0t0  TCP 127.0.0.1:59615->127.0.0.1:8080 (ESTABLISHED)
skype     3457    50u  IPv4  76343      0t0  TCP 127.0.0.1:59889->127.0.0.1:8080 (ESTABLISHED)
skype     3457    63u  IPv4  30239      0t0  TCP 192.168.1.79:59742->193.120.199.11:12350 (ESTABLISHED)
skype     3457    64u  IPv4  73177      0t0  TCP 127.0.0.1:59619->127.0.0.1:8080 (ESTABLISHED)
skype     3457     67u  IPv4  73219      0t0  TCP 127.0.0.1:59625->127.0.0.1:8080 (ESTABLISHED)
skype     3457     68u  IPv4  31855      0t0  TCP *:15295 (LISTEN)
skype     3457     69u  IPv4  31856      0t0  UDP *:15295 
skype     3457     71u  IPv4  60715      0t0  TCP 192.168.1.79:36068->"my friend's IP":52416 (ESTABLISHED)

Clearly Skype is listening on 15295 but I don't see any connections on it? My friend and I are connected as 192.168.1.79:36068->"my friend's IP":52416 after I receive the call. Why not on 15295?

127.0.0.1:8080 is the local Proxy privoxy that all http/https is set to go through.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.