• 0

How to setup webhosting on a router running Tomato (Shibby)?


Go to solution Solved by BudMan,

Question

Class

Hello everyone,

 

I recently bought a router (ASUS RT-N66U). Have Tomato firmware running. The question is, can I set it up to run websites? (PHP, HTML, JS, etc.) For example can it host wordpress?

 

If yes, then comes the more difficult part, how can I set it up to do so? Where to start?

 

I guess I will definitely need SSH directly to into the router, so I will set that one up. Then I have command line acces to Tomato.

 

Thanks in advance,

Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0
+BudMan

^ Agreed!!! hosting web sites or pretty much any services off your home connection is pointless and more costly no matter how little elec the device uses.

 

Only when its something that is local to your site and for personal use does even hosting http locally make sense - for example, I vpn in and access my cacti and syslog stuff via a web site - can view my house electric use off a webpage hosted on one of my VMs, etc.  But my family sharing of videos and pictures is hosted off site where there is actual bandwidth to make it useable for family members to view vs my limited upload pipe.

 

To be honest you can prob even debate cost of doing stuff like transmission..  I run that off a seed box that cost less than $14 USD a month..  I get speeds that make a home connection look like freaking dialup!  And I have 50/10 home connection which isn't all that shabby in this part of the world.  And now I don't have to worry background services sucking up my bandwidth when I am wanting to browse neowin ;)

 

Other then local file/machine access via a vpn - I really see no value to hosting anything to internet off a home connection..

  • Like 2
Link to post
Share on other sites
  • 0
+LogicalApex

You should host the site on a server machine or a web host. I am not sure Tomato will run Wordpress, but even if it could it wouldn't be a good idea. Your router has very weak hardware and can't handle doing both. Not to mention the security issues it would create since a wordpress vulnerability could lead to your router being compromised.

Hosting is dirt cheap if you go that route. Otherwise, setup a server machine to host it and forward the ports.

Link to post
Share on other sites
  • 0
+BudMan

That would be a really bad idea actually - even if possible.. Your router firewall should be just that a router/firewall - not every other service you need..  Especially if open to the public.

 

Tomato is very limited in scope of what it does actually.. it does it well - but its not as full featured as say dd-wrt -- here is how you would do it on dd-wrt, most anything that will run tomato would run dd-wrt, so if this is what you want I would go that route

 

http://www.dd-wrt.com/wiki/index.php/WEB_server

 

I still would suggest hosting your site on the actual public internet, or for that matter pick up a raspberry pi of you want something small to host a small use site for your local use other than your router/firewall ;)

 

edit: wordpress sites can be hosted for free here https://wordpress.com/

Link to post
Share on other sites
  • 0
Class

I see, so it's not really a good idea. Well, then I'm not gonna pursue this. But this is a 600Mhz chip really to weak to run all this? Because I've actually have an old Intel P3 (800Mhz) PC actings as server, but i'm not running it, because it eats a lot of electricity. Considering, "it could" I was thinking to cutting that old metal for this all-in-one solution, this was the original idea.

 

(1) Also, since security is a factor: is the build-in Transmission on Tomato also not recommended to use? Like to seed files and stuff?

 

(2) Also, I've seen a setup of "OwnCloud" on this system, is that also not recommended then?

Link to post
Share on other sites
  • 0
+BudMan

To be honest no - unless it was not being used as your edge router/firewall.  While its handy and convenient to pile such services on one device.  Putting all these types of services on your edge firewall/router lowers the security of that device.  More things that could have exploits, etc..

 

If want to run stuff like transmission and webservices/nas/etc on a low power device - then do so.  Raspberry pi for example is like $35, you can pick up a pogoplug for like $20 that can run arch linux, etc.  Or sure pick up a a router that supports 3rd party firmware and use it as your AP and switch that also runs your website, etc. at 15W..

 

But putting it on your actual edge device - no not really good idea from security standpoint.  If the article I linked too on how to run web services on dd-wrt states "Please remember that opening WEB server to the world could be potential security problem."

Link to post
Share on other sites
  • 0
game_over

Every possible option available to host it yourself is more expensive than just buying a ?2.50 ($4) web hosting account and running it off that.

  • Like 1
Link to post
Share on other sites
  • 0
Dale-Kurt Murray

Take a look at the Merlin firmware, I also own the Dark Knight router and have had good result using that firmware upgrade. All the recommendation you have gotten so far are sound. If you are planning on doing any hosting of your wordpress site, consider Digital Ocean, they offer reasonable hosting in the cloud.

  • Like 1
Link to post
Share on other sites
  • 0
Class

^ Agreed!!! hosting web sites or pretty much any services off your home connection is pointless and more costly no matter how little elec the device uses.

 

Only when its something that is local to your site and for personal use does even hosting http locally make sense - for example, I vpn in and access my cacti and syslog stuff via a web site - can view my house electric use off a webpage hosted on one of my VMs, etc.  But my family sharing of videos and pictures is hosted off site where there is actual bandwidth to make it useable for family members to view vs my limited upload pipe.

 

To be honest you can prob even debate cost of doing stuff like transmission..  I run that off a seed box that cost less than $14 USD a month..  I get speeds that make a home connection look like freaking dialup!  And I have 50/10 home connection which isn't all that shabby in this part of the world.  And now I don't have to worry background services sucking up my bandwidth when I am wanting to browse neowin ;)

 

Other then local file/machine access via a vpn - I really see no value to hosting anything to internet off a home connection..

 

Well, Wordpress was just a side idea. Owncloud and VPN tunnel will be the other things that I will soon need. So for now, I think I will close down this topic and move on to the others. :)

 

Thanks a lot everybody.

Link to post
Share on other sites
  • 0
+BudMan

Well a vpn nto your network makes lots of sense -- even owncloud as a way to access your files remotely (via the vpn) great -- if you want tlet your devices sync to your owncloud even sure. 

 

But to be honest I would prob host the owncloud actually in the cloud ;)  Now it not only will your speeds be faster!!  How much is your home upload speed?  Pretty much any webhost will allow you to run owncloud, my seedbox does even.  Or any vps for sure - shoot there is packages just for owncloud now, etc

Link to post
Share on other sites
  • 0
Class

Well a vpn nto your network makes lots of sense -- even owncloud as a way to access your files remotely (via the vpn) great -- if you want tlet your devices sync to your owncloud even sure. 

 

But to be honest I would prob host the owncloud actually in the cloud ;)  Now it not only will your speeds be faster!!  How much is your home upload speed?  Pretty much any webhost will allow you to run owncloud, my seedbox does even.  Or any vps for sure - shoot there is packages just for owncloud now, etc

 

Well, there is a side story also, because I'm soon moving to a country where it's not allowed to P2P. So that's why. I seriously don't like if some1 pisses into my cup. And to picture the how I imagined this, is that this router will be my gateway. That's why I need an SSD (which I asked in another topic, which is the best for the money currently), which I will connect to this and will download stuff through this. SSD will temporarily store the data and later I will suck it to my PC via a VPN tunnel.

Link to post
Share on other sites
  • 0
+BudMan

And what country is that? the US??  hehehehe

 

They have seedboxes in lots of different countries - mine is in NL.

Link to post
Share on other sites
  • 0
Class

And what country is that? the US??  hehehehe

 

They have seedboxes in lots of different countries - mine is in NL.

 

What's a seedboxes? That's no good. It's Germany. They prolly bill me if I touch my seedbox. I need to get the stuff totally encrypted. Otherwise the internet provider will bill you the stuff.

Link to post
Share on other sites
  • 0
+Frank B.

What's a seedboxes? That's no good. It's Germany. They prolly bill me if I touch my seedbox. I need to get the stuff totally encrypted. Otherwise the internet provider will bill you the stuff.

You're being overly paranoid. You can use P2P in Germany, as long as you're careful.

 

That said paying for whatever you need is the only good karma option. :shifty:

  • Like 1
Link to post
Share on other sites
  • 0
+BudMan

A seedbox is just a vps, shared hosting, etc that is geared towards p2p.  Web interfaces into choice of client for example, openvpn connection couple of clicks, file manager gui, etc.  And yeah all traffic between you and it should be encrypted I agree ;)  Or whats the point..

  • Like 1
Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zikalify
      BT announces new plan to have customers return routers after contracts end
      by Paul Hill



      BT has announced that it will introduce a charge of £50 for new customers that don’t return their router at the end of the contract. The firm also owns EE and Plusnet and is planning to bring a similar charge to those services. While customers may not like the idea of a fine, they may be glad that the scheme will cut down on old router clutter, BT will also be able to properly deal with the waste which is good for the environment.

      Under the new scheme, BT will charge customers between £43 and £50 if they want to keep their router, the pricing depends upon the model of the device. Customers with the BT YouView set-top box will be charged between £60 and £115 if they choose to keep their hardware. While the change hasn’t seen BT reduce its monthly subscription rates, it has said that customers will not have to pay the charge upfront.

      If you don’t use the post office much and concerned about how you return the device, BT will send customers a padded envelope to put the router in. Alternatively, customers can drop off their equipment at a BT or EE shop on their local high street. The firm believes that one million set-top boxes and routers will avoid the landfill thanks to this charge.

      Commenting on the news, a spokesperson said:

      Critics of the initiative said it would be more environmentally friendly if firms worked towards interoperability between their routers so that customers could go on using their older hardware. With that method, however, customers with aging hardware would likely miss out on important security updates and experience hardware faults as the device ages and deteriorates.

      Source: Financial Times Via: BBC News

    • By The Dark Knight
      New home server build! Low power, whisper quiet and powered on 24/7. 
       
      AMD Athlon 200GE based system, 8GB DDR4 RAM, 60GB SSD, 1.65TB HDD storage (1TB + 650GB), Corsair 450W power supply. Onboard LAN plus additional TP-Link NIC, both Realtek chipsets.
       
      Running Windows 10 Pro. Didn't want Linux as a base as I'm just a beginner in Linux. Windows, I know. If anything goes wrong, I can deal with it easily.
      Hyper-V configured with 3 VM's as of now - OPNsense for my router, OpenMediaVault for file access and sharing across network and Ubuntu Server. Still figuring out what to run on Ubuntu. Might start with migrating Pi-hole over to this VM from my RPi so that I can use that Pi for something else. Also serving music to my RPi based music player in the living room and any other device via Samba shares. I had initially planned to also host my personal website from home, but after reading about the risks (DDoS especially) I've decided not to and continue paying for professional hosting.

      Shout out to @BudMan through whom I got to know about pfSense. Otherwise I would have never known that it was even possible to basically make your own router! I finally went with OPNsense though (fork of pfSense) as I simply love the GUI. Mouth opened and fell to the floor looking at the feature set of these router operating systems! Correctly configured, they can seriously blow the pants off any commercially available home router!
       
      In all my research on the router OS I did see practically everyone recommending Intel network cards as they work very well with FreeBSD (the base OS of pfSense and OPNsense). But so far, I have had zero issues with my Realtek based NIC's. I've yet to stress test the network though, so will then see how these NIC's fare compared to Intel. But currently, only me and my wife are pushing gig on the LAN, other family members usage is very low.
    • By eliminatrix2
      Hi There,
       
      Just after some recommendations for a modem / router with a really good inbuilt firewall - I'd like to be able to block specific IP addresses as well as a full range of IP addresses = EG: 192.16.0.1 to 192.168.0.20
       
      Thanks!
    • By hendy
      Modem running as first router on 192.168.0.1 with DHCP on (mask 255.255.255.0 address range 10-254).  Second router wired to first on 192.168.0.2 with DHCP off, in router mode. Internet works for clients attached to either router.

      However, I want to be able to connect to either router from any client. File sharing across clients on different router seems to also drop. When I make a change to the configuration (IP address, DNS server, gateway, etc.) the second router is visible from clients on the first (it shows up in "arp -a"). After some time, the router IP, 192.168.0.2 just drops off the list (can't ping it, can't login to admin). I am still able to login to the router if I'm connected to it directly, but it is really annoying that I can't see it within the 192.168.0.x network and not having file sharing is a no starter. Also, when I'm on the second router, I can see the first router and a PC I'm trying to file share with. However, the files are inaccessible but the Internet is fine.
       
      If it is supposed to do this, I don't get it. If it is not supposed to do it, I have no idea what is causing it. 
    • By Timi Cantisano
      Razer's Sila is tri-band AC3000 gaming router priced at $249.99
      by Timi Cantisano

      Razer is known for its many gaming products so it only seems natural that it would release its own router. Today, the firm has done just that, announcing its new Sila gaming router.

      Like many of its products, this is aimed at gamers looking for the best performance. Not only will this router deliver excellent speeds, but it will also have the ability to "prioritize your applications for smooth wireless gaming performance".

      The router is capable of making this a possibility with its Razer FasTrack engine, which can "prioritize bandwidth when too many applications or devices are in use". If you want to make things easy, you can just pop the router into Game Mode and let it handle the prioritizations itself and even have the router prioritize hardware like game consoles and PCs. According to Razer, the router can also increase Wi-Fi signal strength by operating on "normally-restricted bandwidth frequencies".

      Like many high-end routers, you can purchase and combine up to three Razer Sila units together in a group to create a Mesh network. This will allow you to get the best performance and signal strength if you are using the router in a larger space that may have dead areas. Three Sila units will be able to cover up to 9,000 feet.

      The Razer Sila does also have an iOS and Android app that will allow for easy customizations. If interested, the router is now available from the Razer website and will cost $249.99. For a limited time, the firm is offering free shipping.

      Source: Razer via The Verge