小豪

小豪

Proxy


OpenWrt常用插件安装配置

OpenWrt是一种面向嵌入式设备的Linux操作系统,它提供了一个完全可写的文件系统和包管理,从而使用户能够自定义设备,以满足任何应用的需要。本文主要介绍了如何在虚拟机上安装OpenWrt,以及如何配置和使用OpenClash插件。首先,我们在OpenWrt的官方网站上选择合适的镜像进行下载和安装。然后,我们在GitHub上找到OpenClash插件的官方仓库,并按照仓库中的安装指南进行操作。安装过程中,我们需要安装一些依赖,如luci、iptables、dnsmasq-full等,然后将插件的IPK文件上传到路由器的/tmp目录下,并执行安装命令。安装完成后,我们可以在LUCI页面的菜单栏中找到OpenClash插件,并进行相关配置,如导入规则、启动插件等。在此过程中,我们可能会遇到一些问题,如何解决这些问题,以及如何最大限度地利用OpenWrt和OpenClash插件的功能?--GPT 4

Proxy openwrt

shell proxy via proxychains-ng

This blog post provides an in-depth guide on how to set up a shell proxy using proxychains-ng on GNU/Linux systems. It begins by explaining the need for a proxy to speed up access when visiting external websites or downloading content through a shell. The post then introduces proxychains-ng, a simple and convenient tool for this purpose, as an alternative to temporary solutions like 'export https_proxy'. The post proceeds with detailed instructions on how to download, compile, and install proxychains-ng. The steps include cloning the tool from GitHub, entering the downloaded folder, compiling the tool, and installing it along with the proxychains.conf configuration file. The final part of the blog post covers the configuration process. It explains how to view and edit the profile location, set up a SOCKS5 proxy and an HTTP proxy, and modify an alias in zsh. After following these steps, readers should be able to achieve faster access through a proxy. The blog post concludes by congra...--GPT 4

Proxy Shell

docker开启代理

在国内网络环境下,使用docker拉取DockerHub仓库的镜像可能会非常慢,但镜像加速器并不始终能有效解决这个问题。这篇博客介绍了如何通过配置Docker代理来解决这一问题。首先,博客指出Docker守护进程在启动环境中使用HTTP_PROXY, HTTPS_PROXY和NO_PROXY环境变量来配置HTTP或HTTPS代理行为,但这些环境变量不能通过daemon.json文件配置。然后,博客提供了一个详细的步骤来创建和配置代理,包括创建docker.service.d文件夹,创建http-proxy.conf文件,编写文件内容,重启docker以及验证代理是否成功配置。此外,如果在拉取镜像时遇到报错,博客也提供了一些解决方案,如重置DNS解析服务器,检查http-proxy.conf配置文件。那么,如果你在使用docker时遇到了类似的问题,为什么不尝试下这篇博客提供的方法呢?它会帮助你更有效地使用docker,提高你的工作效率。--GPT 4

Proxy

  • 1