Справочник Пользователя для your-freedom user guide

Скачать
Страница из 52
 
Your Freedom User Guide 
Page 32 of 52 
Now instead of connecting via SSH to “some.host.somewhere” on port 22, you 
simply instruct your SSH client to connect to “localhost” on port 2222. Your Freedom 
will put the connection through for you. Note however that if the remote host is 
unreachable the SSH client will still see a working connection, but it will time out 
quickly. 
This is just one of many examples how you can use this feature. Generally speaking, 
if your application needs to only connect to a particular host on a particular port, local 
port forwards are the right choice. 
2.5.1.2 SIP forwards 
Yes, that’s true! You can use SIP phones with Your Freedom as well! Note however 
that this is still in early beta phase and it may not work properly; we have seen 
reports that audio only worked in one direction. Once we can find the time we’ll 
continue to work on it. 
If you’d like to give it a try, here is what you need to do. Assume you are using a SIP 
server called “sip.sipgate.de” on port 5060, the well-known port for SIP. If you 
configure a SIP port forward like this one … 
 
… it will turn your local PC into a mirror image of the SIP server. So instead of 
configuring “sip.sipgate.de” in your SIP phone, configure “localhost”. Disable STUN if 
you can, it’s meaningless in this context (but will only make things slower). 
SIP forwarding is a complex task; not only does the YF client have to forward all 
requests, it also has to set up UDP forwards dynamically for all audio and (that’s 
right!) video streams. We haven’t tested this with many different SIP providers and 
phones, so it’s likely that many of them don’t work yet. We like to hear from you! 
Note that SIP forwarding will only work with UDP, not TCP. Nearly all clients and 
servers use UDP. Also, note that using a SIP phone consumes a certain amount of 
bandwidth (depending on the Codecs you are using); the FreeFreedom profile will 
likely not be fast enough to support SIP forwarding (the voice will break up). 
2.5.1.3  Server port forwards 
Would you like to make your PC reachable from the Internet? Then server port 
forwards are for you. Check out the “Account Profile” panel after connecting; if you 
see “remote ports forwarded” there you can use this feature. (You can configure it as 
well if no ports are forwarded to you, but it won’t do a thing.) 
It is important to understand that you can only forward server ports that are assigned 
to you (i.e. appear in the list of “remote ports forwarded”). So let’s assume you have 
ports assigned. Add forwards like this: