#Start ip jump
echo 1 > /proc/sys/net/ipv4/ip_forward
vi /etc/sysctl.conf
net.ipv4.ip_forward =1
sysctl -p /etc/sysctl.conf
#centos 7 install iptables
yum install iptables-services
service iptables start
#ip mapping
iptables -t nat -A OUTPUT -p all -d 80.80.80.80 -j DNAT --to-destination 127.0.0.1
iptables -t nat -A POSTROUTING -p all -j MASQUERADE
#nginx_tcp_proxy_module installation method: https://github.com/yaoweibin/nginx_tcp_proxy_module
#Requires the same version of nginx to compile and run the patch command