Monday, 6 January 2020

Running a webserver behind a firewall I have no access to


I'm having a bad time in my student appartment: I want to run a webserver on my Laptop, which should be reachable from outside of the net.


I'm sitting behind some proxy-server that passes outgoing packets to the matching server but when it comes to incoming messages - it wouldn't route them correctly to my PC. (Seems like packets only get passed if some PC from within the student-flat is already connected to the sending server)


In the past I had a small virtual private server that was sending incoming website-requests over a reverse shell to my PC. Which then returned the website content, and the visitor could see my website. Sadly I don't have that server anymore...


Do you have any idea that might solve my problem?



Answer



Honestly, there's no easy way to do this and any way i can think of is an ugly hack. You have no public ip address (which makes it hard), some proxy server (which makes things harder) and no real access. I'm sure there's some matters of policy to address as well.


The ONE hack i can think of which might help would be to set up an ipv6 tunnel to your webserver, then using a public 6-4 proxy for users to connect. You'd as such be able to connect via the ipv6 tunnel, have a public (ipv6) address, and in theory your users should be able to connect then. It would, naturally, need some testing to get right, since i have no clue of the exact nature of your firewall and proxy.


I'd use freenet6 with the gw6c client (though the windows client should work through) with the v6udpv4 method (which works behind a nat). My clients would likely want to use the sixxs website gateway for access.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...