共匪继续发狂吧,一堆狗屎
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net v.gd/4A2G5b v.gd/VBg0IE v.gd/kVkm7n v.gd/jCKP1G linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com v.gd/2P9wTx v.gd/FtfpqE v.gd/eMfHsm v.gd/Ub7mqv v.gd/RReVk0 v.gd/vS3uTI v.gd/4Zxmba v.gd/1BnFph
Proxy-Authorization
header automatically.dep ensure
go build -o transproxy cmd/transproxy/main.go
chmod +x transproxy
Usage:
transproxy [options]
Options:
-disable-iptables
Disable automatic iptables configuration
-dns-over-https-enabled
Use DNS-over-HTTPS service as public DNS
-dns-over-https-endpoint string
DNS-over-HTTPS endpoint URL (default "https://dns.google.com/resolve")
-dns-over-tcp-disabled
Disable DNS-over-TCP for querying to public DNS
-dns-proxy-listen [host]:port
DNS Proxy listen address, as [host]:port (default ":3131")
-dns-tcp
DNS Listen on TCP (default true)
-dns-udp
DNS Listen on UDP (default true)
-explicit-proxy-listen [host]:port
Explicit Proxy listen address for HTTP/HTTPS, as [host]:port Note: This proxy doesn't use authentication info of the `http_proxy` and `https_proxy` environment variables (default ":3132")
-explicit-proxy-only
Boot Explicit Proxies only
-explicit-proxy-with-auth-listen [host]:port
Explicit Proxy with auth listen address for HTTP/HTTPS, as [host]:port Note: This proxy uses authentication info of the `http_proxy` and `https_proxy` environment variables (default ":3133")
-http-proxy-listen [host]:port
HTTP Proxy listen address, as [host]:port (default ":3129")
-https-proxy-listen [host]:port
HTTPS Proxy listen address, as [host]:port (default ":3130")
-loglevel string
Log level, one of: debug, info, warn, error, fatal, panic (default "info")
-private-dns string
Private DNS address for no_proxy targets (IP[:port])
-public-dns string
Public DNS address (IP[:port]) Note: Your proxy needs to support CONNECT method to the Public DNS port, and the public DNS needs to support TCP
-tcp-proxy-dports port1,port2,...
TCP Proxy dports, as port1,port2,... (default "22")
-tcp-proxy-listen [host]:port
TCP Proxy listen address, as [host]:port (default ":3128")
Proxy configuration is used from standard environment variables, http_proxy
, https_proxy
and no_proxy
.
Also you can use IP Address, CIDR, Suffix Domain Name in no_proxy
.# Set your proxy environment
export http_proxy=http://foo:bar@yourproxy.example.org:3128
# Set no_proxy if you need to access directly for internal
export no_proxy=example.org,192.168.0.0/24
# Start go-transproxy with admin privileges(sudo)
sudo -E transproxy -private-dns 192.168.0.100 -public-dns 8.8.8.8
For testing, using docker is easy way. Now, you can access to google
from docker container with no proxy configuration as follows.docker run --rm -it centos curl http://www.google.com
302 Moved
302 Moved
The document has moved
here.
If your proxy doesn't support CONNECT method to DNS port, it cannot resolve public domain name transparently.
Fortunately, Google privides DNS-over-HTTPS service, so you can use this service as public DNS by adding -dns-over-https-enabled
option instead of -public-dns
option as below even if your proxy supports CONNECT method to 443 port only.sudo -E transproxy -private-dns 192.168.0.100 -dns-over-https-enabled
If you can resolve all domains directly from local LAN, run command without dns related options as below.
It disables DNS-Proxy.sudo -E transproxy
If you need to use both public DNS and private DNS, and need to use public DNS directly, run command with -dns-over-tcp-disabled
option as below.
It suppresses to insert a iptables OUTPUT rule for DNS over TCP.sudo -E transproxy -private-dns 192.168.0.100 -public-dns 172.16.0.1 -dns-over-tcp-disabled
If you want to use an application which access to internet using port 5000, run command with -tcp-proxy-dports
option as below.sudo -E transproxy -private-dns 192.168.0.100 -public-dns 8.8.8.8 -tcp-proxy-dports 22,5000
no_proxy
only works with IP Address and CIDR if your https client doesn't support SNI.no_proxy
only works with IP Address and CIDR.华硕RT-AC68U | 500元 | 双核 800 Mhz |
---|---|---|
网件R7000 | 700元 | 双核1000MHz |
本网关Pi-net | 200元 | 四核1200MHz |
收集所有区块链(BlockChain)技术开发相关资料Please read the contribution guidelines before contributing. 请在为本项目贡献信息前仔细阅读 操作指南
GitHub:ipader/SwiftGuide | 网站:http://dev.swiftguide.cn | 欢迎开发者一起维护,或反馈/投稿@SwiftLanguage 更新于 2016-1-5,更新内容详见 Issue 43。往期更新回顾详见《收录周报》
旧版内容过于庞杂,不再维护,取而代之的是《Swift 文章精选》。P.S. 需要查阅旧版内容的同学,详见Swift 教程(旧版)。
旧版内容过于庞杂,不再维护,取而代之的是《Swift 项目精选》。P.S. 需要查阅旧版内容的同学,详见Swift 项目(旧版)。
「統戰工作是黨的特殊群眾工作,要有特殊的方式方法,講求很強的工作藝術。」
對統戰對象「要建立經常性聯繫渠道,引導其政治觀點,增進其政治認同。要重視和解決他們的政治利益和具體利益,盡心竭力幫助他們解決實際問題。」
「做好新形勢下統戰工作,必需善於聯誼交友,統一戰線是做人的工作,是為了壯大共同奮鬥的力量。」