TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Simulate or run a corporate proxy and firewall locally for debugging

1 点作者 ajeet_dhaliwal超过 2 年前
Some large companies have staff use computers running behind a corporate proxy and firewall without free access to the internet.<p>When making requests to an external service they need to supply a host, port and in some cases a username and password to authenticate.<p>As a library and service developer, for testing purposes I&#x27;d like to simulate such a proxy on my local development machine (Mac). Ideally I click a button &#x2F; hit a command and it&#x27;s enabled, click again, it&#x27;s disabled. I can then test requests with the credentials provided and not provided in http requests to test whether my library handles them correctly.<p>Anyone found a good way to do this on a Mac?

暂无评论

暂无评论