Setting up a website to be public using Kali Linux


Recommended Posts

I'm about to bash my head against the wall trying to figure out 

how to make a a website that I've created in Kali Linux which can

be viewed on my own private networking able to be viewed from a 

computer outside my network.

 

I can figure how to make my ip addres private if that's what's involved.

Besides Kali Linux I'm also using a Lynsys router with dd-wrt.

 

Thanks in advanced for any helpful response/s.

 
  On 15/06/2015 at 09:34, netsurfer802 said:

I'm about to bash my head against the wall trying to figure out 

how to make a a website that I've created in Kali Linux which can

be viewed on my own private networking able to be viewed from a 

computer outside my network.

 

I can figure how to make my ip addres private if that's what's involved.

Besides Kali Linux I'm also using a Lynsys router with dd-wrt.

 

Thanks in advanced for any helpful response/s.

 

So to summarize: 

  • You have a web page on your PC and you are able to view the pages on your home network
  • You want to access the pages from away from home, (from the internet)

 

WARNING - Be warned that it is generally not a good idea to just open up anything inside your home network to the outside, I'm not going to go into details of how to protect your network, you asked for how to open up for external access so I'll show you just that.

 

Things you need:

  • Your external IP
  • The internal IP of your PC
  • Access to the Linsys DD-WRT router via the web interface

This next bit is directly snipped from http://www.dd-wrt.com/wiki/index.php/Port_Forwarding#Port_Range_Forward :

 

  • Browse to the web interface.
  • Click on the "NAT / QoS" tab.
  • Click on the "Port Range Forward" subtab.
  • Enter any Application name you'd like. This is for your own reference and does not matter to to the router.
  • Enter 80 in Start port .
  • Enter 80 in End port.
  • Enter the local IP Address of the machine you'd like to forward the port to. (internal IP)
  • Check the "Enable" checkbox to enable forwarding for this port range.

If the computer you're forwarding to is configured by for automatic IP address by DHCP, you will periodically have to update the last field to reflect the machine's current Local IP Address. 

 

Save and apply the settings and you should be good to go (might require a restart depending on the router model)

 

 

Now, you will be able to access your web server on http://<you external ip>/ 

Kali linux not really a distro of choice for serving up websites.. Its a penetration testing distro - not really something designed to be used day to day as you normal OS or serve up stuff to the public.

 

What exactly do you want to make open to the public?  Does your isp even allow 80 inbound?  What do you have in front of your "Lynsys router"  did you mean linksys?  Is it also doing nat?

 

I am blown away from someone that would even know about kali linux not know how to forward a port.. Then again someone that would try to run a website on it - not so much ;)

 

Here is what I suggest to people wanting to host public services off their HOME connection - DON'T!!  What sort of site are you trying to make public - and who are going to be the users?

  • Like 3

Agree with Budman

 

If yours gonna do this use something like Debian, nice and easy to setup and lots of tutorials and documentation online

 

I open mine up to the public every now and then to get people to test stuff but then its closed again

 

Too much to worry about making it safe and secure for me to risk it

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Google's AI Ultra for Business supercharges Workspace with advanced AI and next-gen tools by Fiza Ali Google has announced the launch of Google AI Ultra for Business, a new add-on for Workspace that delivers the highest-tier AI models and next-generation tools to organisations. Subscribers gain priority access to the Gemini app’s most capable models; Gemini 2.5 Pro, Veo 3, and Deep Research, and will soon be able to use Deep Think as well. In addition, AI Ultra for Business increases usage limits within NotebookLM, granting access to the best available models when they arrive later this year. Users will also benefit from higher quotas for Audio Overviews, notebooks, queries, and sources per notebook, and will be able to enjoy customisable notebook styles and response lengths. Furthermore, organisations on Business or Enterprise Standard and Plus plans already have Gemini integrated across Workspace apps such as Gmail, Docs, and Sheets. Other qualifying Workspace customers can now obtain the majority of these AI-powered features by adding the AI Ultra for Business. When it comes to creative teams, they will find new capabilities in Flow, Google’s AI filmmaking suite, which uses Veo 3 and premium features to generate consistent, cinematic clips from reference images. Subscribers will also get access to Whisk, the dual text-and-image prompt tool that enables idea exploration and visualisation, while Whisk Animate will allow them to turn still images into eight-second video clips using Veo 2. In the United States, access to Project Mariner offers a research prototype that allows users to assign AI agents to carry out tasks, such as research and data entry, concurrently in the background. The tech giant says that all core services accessed via Google AI Ultra for Business (Gemini in Workspace, the Gemini app, and NotebookLM) are protected by enterprise-grade data safeguards under the Google Workspace Terms of Service or applicable offline agreements. Moreover, user content is not subject to human review nor used to train Google’s generative models outside the user’s domain without explicit permission. Flow, Whisk, and Project Mariner operate under their own privacy policies, which customers are encouraged to review. From 26 June 2025, the add-on is available for self-service purchase by organisations on Business Starter, Standard and Plus, and Enterprise Starter, Standard and Plus. Each licence includes 12,500 AI credits per month for use in Flow, Whisk, and any other credit-enabled products. As far as availability is concerned, it varies by country and by feature, so customers are advised to check the Workspace Help Centre for specific details. Google also plans to roll out Google AI Ultra for Business to G Suite Legacy Free Edition and Education customers in the coming weeks.
    • Pro Max Plus. That had to be some sort of parody.
    • YouTube adds AI summaries to search results and expands conversational AI testing by David Uzondu Today, YouTube announced it is adding two new AI features, and one is sort of like AI overviews for its search results. The platform is also expanding access to its conversational AI tool that can answer questions about the video you are currently watching. The primary update is a new AI-powered search results carousel. For now, this is exclusively for YouTube Premium members located in the United States. When you search for something like "best beaches in Hawaii," YouTube might generate a special carousel with short video clips and brief AI-written topic descriptions. It's interesting to see YouTube try this, especially since Google's own AI Overviews had some dangerous hallucination issues at launch, like that infamous suggestion to add non-toxic glue to pizza. The other update involves its conversational AI tool, which it introduced back in 2023. YouTube is now starting to test this with some non-Premium users in the US as well. If you are part of the test, you will see a new button labeled "Ask" positioned near the like and share buttons below a video. Tapping it lets you directly ask questions about the content. For instance, if you are watching a tutorial, you could ask for a summary or even for a quiz on the main points. It feels like every company is desperately shoving a chatbot into its products now. For creators, the AI-generated search carousel might turn into a serious problem. If people are getting everything they need from a summary without ever clicking through, there's not much reason to watch the actual video. That means fewer views, less watch time, and less money. Bad news if YouTube is your job. YouTube says the AI pulls from creator videos to make these summaries, but a quiet nod isn't the same as sending real traffic. And it's still unclear if any of that credit actually helps creators in a meaningful way.
    • Oh for crying out loud, more AI rubbish. It gets everywhere, well almost. i use Numbers on the Mac, which does what I need, at the moment I can turn any AI off, but maybe i should go back to LibreOffice.
    • Google Sheets gets exciting Gemini feature that is still missing in Excel by Usama Jawad We recently learned that Copilot in Microsoft Excel got a big upgrade in the form of context awareness, which is in addition to the formula generation capabilities that were made available earlier. However, no firm has really won the AI race yet, and Google has now edged ahead in at least one domain today, by adding Gemini text generation capabilities in Google Sheets. In a blog post, Google has announced that while you can already leverage Gemini in Sheets to generate charts and insights, you can now generate text using its new AI function too. This function can utilize a natural language prompt and an optional context window to summarize and generate text, categorize information, and perform sentiment analysis. The syntax for the AI function is fairly straightforward: AI("prompt",[optional range]) So you can invoke the Gemini function as follows: =AI("Perform sentiment analysis on the emails sent by the customers to the barbershop.", C2) Or: =AI("Create an email to the reviewer addressing specific items in their reviews.", A2:G2) It is very interesting to note that a similar capability is not offered by Copilot in Excel yet. In my testing, I did get Copilot to generate charts, formulas, and do some text formatting, it simply doesn't seem to have the ability to actually generate textual data directly in a workbook just yet. While an input range isn't mandatory, Google recommends using it for the best results. Just like any cell using a formula, you can refresh the AI cell, and get an indicator about its sync state. That said, a limitation that is present with regards to the AI function is that it only works for the first 200 selected cells in your range. Once that generation completes, you can select more cells and repeat the process, which is a slightly cumbersome experience. The rollout for this capability has begun across Business, Enterprise, Education, Education Premium, AI Pro, and Ultra plans, so it should be available to everyone sooner rather than later. In the meantime, you can view details about the AI function here.
  • Popular Contributors

    1. 1
      +primortal
      544
    2. 2
      ATLien_0
      206
    3. 3
      +FloatingFatMan
      177
    4. 4
      Michael Scrip
      148
    5. 5
      snowy owl
      118
  • Tell a friend

    Love Neowin? Tell a friend!