05-22-2015, 04:46 PM | #16 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Check the router configuration page (should be at the IP of the router, usually http://192.168.0.1), somewhere under Advanced Settings you *should* see a section for port forwarding.
Enter in the external starting port (what you type in the browser) and the end port (whatever is in calibre) and the IP address of your computer. It should look something like this I believe: http://screenshots.portforward.com/r...Forwarding.htm |
05-22-2015, 04:58 PM | #17 |
Wizard
Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
This is the link to a pdf about port forwarding on your particular router.
http://files.dlink.com.au/Products/D...Forwarding.pdf I am not currently aware of any vulnerabilities in the Calibre Content Server. However, your reluctance to open ports is both understandable and prudent. Whenever we allow access from the internet we have to accept that there is some risk involved. I don't believe the risk is a particularly high one in this case, and many people use the content server outside of their home networks. You must of course use your own judgement and of course take responsibility for what you decide. |
Advert | |
|
05-22-2015, 05:28 PM | #18 |
Connoisseur
Posts: 58
Karma: 5540
Join Date: Sep 2011
Location: New Zealand
Device: K-3, Kindle Fire HDX 7" 2013
|
Enter in the external starting port (what you type in the browser) and the end port (whatever is in calibre) and the IP address of your computer.
It should look something like this I believe: Okay, so im still not sure what the first bit means, when you say "what you type in the browser", and, is the end port the calibre 8080 (now changed by me to a different number) And the IP of my comp, is dynamic.... and im still trying to figure out the Duckdns http, which i started looking at yesterday. Sorry, i am a bit slow with all of this... such a big learning curve. |
05-22-2015, 05:45 PM | #19 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, lets say you type in http://eschwartz.duckdns.org:4567 -- the external port is "4567".
But in calibre, the server is set to start on http://192.168.0.254:8080 -- the internal port is "8080". So in the router settings, just create a rule for machine "192.168.0.254", sending all router traffic on external port "4567" to go to internal port "8080", on machine "192.168.0.254" of course. Obviously, fill in your own values instead. |
05-22-2015, 06:04 PM | #20 |
null operator (he/him)
Posts: 20,677
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Saxguy - couple of tips
If your running the server on Windows, then rather than using your computer's local IP address you can use its machine name, you can get that in Control Panel->All Control Panel Items->System. The advantages include - a) you control its value, b) its easier to remember, c) the IP address may change if you 'lease' the address from a DHCP server (usually in your router, which have been known to break). You can run the server from the command line see ==>> calibre-server — calibre User Manual. I have several one line command files for running different instances of calibre-server against different libraries. BR |
Advert | |
|
05-22-2015, 11:42 PM | #21 | |
Connoisseur
Posts: 58
Karma: 5540
Join Date: Sep 2011
Location: New Zealand
Device: K-3, Kindle Fire HDX 7" 2013
|
Quote:
And then, the calibre port, which i have changed to 8090 for example, is the "internal port" and finally, the computer running the server is 192.168.1.6 so that is the machine. In the router i have the following boxes in port forwarding Server Name : (do I just put calibre?) Schedule : (Always, maybe?) View Available Schedules Server IP Address : (?) External Port Start (?) External Port End (?) Protocol (TCP maybe?) Internal Port Start (?) Internal Port End (?) Remote Ip (?) |
|
05-23-2015, 12:52 AM | #22 |
Wizard
Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Server Name : Calibre1
Schedule : Always Server IP Address : 192.168.1.6 External Port Start: 31811 External Port End: 31811 Protocol TCP and UDP if possible. Otherwise just TCP Internal Port Start: 8090 Internal Port End: 8090 Remote Ip: Leave blank Once setup, you should be able to access the content server from the internal network using: http://192.168.1.6:8090 You should be able to access from the internet using: http://mylibrary.duckdns.org:31811 Finally, if you can now access it from the internet, change the 31811 external port to some other number. Select one at random beween, say, 20000 and 59000, and modify your port forwarding settings accordingly, and remember to substitute the new port number when accessing from the internet. If you stay with the port number I used here, everyone who reads this post will know both the internet address and port number to access your content server. This is why it is important to setup username and password security on your content server. |
05-23-2015, 03:32 AM | #23 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
A much more important reason to set up security on the content server is the fact that if you don't, you've just set up a server from which anyone can steal your books.
|
05-23-2015, 03:37 AM | #24 |
Connoisseur
Posts: 58
Karma: 5540
Join Date: Sep 2011
Location: New Zealand
Device: K-3, Kindle Fire HDX 7" 2013
|
Harry, thank you, but I havent actually used any of the above numbers, they were just examples.. also my duckdns isnt called my library.... but thank you for the heads up.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up email server problems | npyachtsman | Devices | 0 | 02-13-2012 02:56 AM |
Help with setting up a content server | siddardha | Calibre | 7 | 08-27-2011 01:07 PM |
Setting up proxy server | pat.indie | enTourage Archive | 1 | 07-06-2010 12:01 AM |
Cannot access www.connect.com | imanlhakim | Sony Reader | 1 | 07-25-2007 06:50 AM |