All Projects → icflorescu → Iisexpress Proxy

icflorescu / Iisexpress Proxy

Licence: isc
A simple local proxy for accessing IIS Express from remote machines.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Iisexpress Proxy

Multitor
Create multiple TOR instances with a load-balancing.
Stars: ✭ 624 (-1.42%)
Mutual labels:  proxy, http-proxy
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+358.61%)
Mutual labels:  proxy, http-proxy
Fasttunnel
NAT 内网穿透 远程内网计算机 域名访问内网站点 反向代理内网服务 花生壳 端口转发 http代理 微信 小程序 expose a local server behind a NAT or firewall to the internet like ngrok and frp. NAT ssh proxy tunnel reverse-proxy
Stars: ✭ 248 (-60.82%)
Mutual labels:  proxy, http-proxy
Proxybroker
Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS 🎭
Stars: ✭ 2,767 (+337.12%)
Mutual labels:  proxy, http-proxy
Rocky
Full-featured, middleware-oriented, programmatic HTTP and WebSocket proxy for node.js
Stars: ✭ 357 (-43.6%)
Mutual labels:  proxy, http-proxy
Mubeng
An incredibly fast proxy checker & IP rotator with ease.
Stars: ✭ 234 (-63.03%)
Mutual labels:  proxy, http-proxy
Awslambdaproxy
An AWS Lambda powered HTTP/SOCKS web proxy
Stars: ✭ 571 (-9.79%)
Mutual labels:  proxy, http-proxy
Otoroshi
Lightweight api management on top of a modern http reverse proxy
Stars: ✭ 177 (-72.04%)
Mutual labels:  proxy, http-proxy
Free Proxy List
🔥Free proxy servers list / Updated hourly!
Stars: ✭ 326 (-48.5%)
Mutual labels:  proxy, http-proxy
Fiddler Plus
自定义的Fiddler规则,多环境切换、解决跨域开发、快速调试线上代码必备|高效调试分析利器
Stars: ✭ 325 (-48.66%)
Mutual labels:  proxy, http-proxy
Skipper
An HTTP router and reverse proxy for service composition, including use cases like Kubernetes Ingress
Stars: ✭ 2,606 (+311.69%)
Mutual labels:  proxy, http-proxy
Jwtproxy
An HTTP-Proxy that adds AuthN through JWTs
Stars: ✭ 379 (-40.13%)
Mutual labels:  proxy, http-proxy
Smartproxy
HTTP(S) Rotating Residential proxies - Code examples & General information
Stars: ✭ 205 (-67.61%)
Mutual labels:  proxy, http-proxy
Toxy
Hackable HTTP proxy for resiliency testing and simulated network conditions
Stars: ✭ 2,698 (+326.22%)
Mutual labels:  proxy, http-proxy
Talkback
A simple HTTP proxy that records and playbacks requests
Stars: ✭ 183 (-71.09%)
Mutual labels:  proxy, http-proxy
Mallory
HTTP/HTTPS proxy over SSH
Stars: ✭ 251 (-60.35%)
Mutual labels:  proxy, http-proxy
Beyond
BeyondCorp-inspired Access Proxy. Secure internal services outside your VPN/perimeter network during a zero-trust transition.
Stars: ✭ 151 (-76.15%)
Mutual labels:  proxy, http-proxy
Quic Proxy
A http/https proxy using QUIC as transport layer
Stars: ✭ 159 (-74.88%)
Mutual labels:  proxy, http-proxy
Httptunnel
Bidirectional data stream tunnelled in HTTP requests.
Stars: ✭ 279 (-55.92%)
Mutual labels:  proxy, http-proxy
Proxy requests
a class that uses scraped proxies to make http GET/POST requests (Python requests)
Stars: ✭ 357 (-43.6%)
Mutual labels:  proxy, http-proxy

iisexpress-proxy

NPM version Dependency Status License Downloads

iisexpress-proxy

A simple, yet practical command-line utility enabling .NET developers to test web applications served by IIS Express on remote devices.

Motivation

Are you a .NET developer building mobile web applications? Have you ever been frustrated by the fact that there's no easy way to enable IIS Express to accept connections from remote devices?...

Installation

There's no need to install iisexpress-proxy if you're using [email protected]^5.2.0; you can simply run it with npx. If you're using an older version of npm, you'll most likely want iisexpress-proxy installed as a global module:

npm install -g iisexpress-proxy

Note: You need to have Node.js installed.

Usage

If you're using [email protected]^5.2.0:

npx iisexpress-proxy localPort to proxyPort

Alternatively, if you installed iisexpress-proxy as a global npm module:

iisexpress-proxy localPort to proxyPort

For instance, if your application's IIS Express port is 51123, run this in the Command Prompt:

iisexpress-proxy 51123 to 3000

The program will list the external addresses you can use for testing your application on remote devices.

iisexpress-proxy defaults to http, so if your application is running https, then include the full URL.

iisexpress-proxy https://localhost:51123 to 3000

Note that this will terminate HTTPS. On your destination machine, connect to port 3000 using HTTP, not HTTPS.

Advanced usage (VPN, virtual hosts, etc.)

You can also use iisexpress-proxy to expose an IIS server instance running on a different host accessible through VPN, like this:

iisexpress-proxy host:port to proxyPort

For instance, let's conside this scenario:

  • the application is running on 192.168.96.3:5000 and it only accepts connections from clients within a VPN;
  • your development machine has a network interface within the same VPN and another publicly accessible one (192.168.0.102);
  • you need to test the application from mobile devices without having to add those devices to the VPN.

By running this in the Command Prompt:

iisexpress-proxy 192.168.96.3:5000 to 3000

...you'll be able to access the application by pointing the mobile devices to 192.168.0.102:3000.

Note: This functionality was added at v1.1.0 (released 10/21/2015).

WebSocket support was added in v1.4.0 by Stan Hebben - see PR #11 for details.

Limitations

iisexpress-proxy doesn't work in scenarios involving integrated Windows authentication (see issue #here).

How does it work

It's proxying the HTTP traffic on localPort to proxyPort on all the available network interfaces and it's also changing the origin of the host header, allowing you to test web applications hosted by IIS Express on various remote devices (mobile devices, other desktops, etc.).

If you need to access the original host requested by the browser, the request headers will include X-Forward headers. In ASP.NET, Request.Headers["x-forwarded-host"] will contain the requested host.

Credits and attributions

This command-line utility wraps http-proxy. The original http-proxy logo was created by Diego Pasquali.

Endorsing the author

If you find this repo useful, please give it a star, tweet about it and endorse me on LinkedIn:

Ionut-Cristian Florescu on LinkedIn

Before raising issues

I'm getting lots of questions from people just learning to do web development or simply looking to solve a very specific problem they're dealing with. While I will answer some of them for the benefit of the community, please understand that open-source is a shared effort and it's definitely not about piggybacking on other people's work. On places like GitHub, that means raising issues is encouraged, but coming up with useful PRs is a lot better. If I'm willing to share some of my code for free, I'm doing it for a number of reasons: my own intellectual challenges, pride, arrogance, stubbornness to believe I'm bringing a contribution to common progress and freedom, etc. Your particular well-being is probably not one of those reasons. I'm not in the business of providing free consultancy, so if you need my help to solve your specific problem, there's a fee for that.

License

The ISC License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].