[Interface]PrivateKey = ----ListenPort = 1195Address = 10.10.90.1/28PostUp = iptables -A FORWARD -i ens6 -o wg0 -p tcp --syn -m multiport --dports 80,443 -m conntrack --ctstate NEW -j ACCEPTPostUp = iptables -A FORWARD -i wg0 -o ens6 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPTPostUp = iptables -t nat -A PREROUTING -i ens6 -p tcp -m multiport --dports 80,443 -j DNAT --to-destination 10.10.20.4PostUp = iptables -t nat -A POSTROUTING -o wg0 -p tcp -m multiport --dports 80,443 -d 10.10.20.4 -j SNAT --to-source 10.10.90.1PostDown = iptables -D FORWARD -i ens6 -o wg0 -p tcp --syn -m multiport --dports 80,443 -m conntrack --ctstate NEW -j ACCEPTPostDown = iptables -D FORWARD -i wg0 -o ens6 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPTPostDown = iptables -t nat -D PREROUTING -i ens6 -p tcp -m multiport --dports 80,443 -j DNAT --to-destination 10.10.20.4PostDown = iptables -t nat -D POSTROUTING -o wg0 -p tcp -m multiport --dports 80,443 -d 10.10.20.4 -j SNAT --to-source 10.10.90.1[Peer]PublicKey = ----PresharedKey = ----AllowedIPs = 10.10.90.2/32, 10.10.20.4/32PersistentKeepalive = 25
Tunnel addresse = 10.10.90.2/28Peers = proxy-vpnDisable Routes = yesGateway = 10.10.90.1
Name = proxy-vpnAllowed IPs = 10.10.90.1/32Endpoint Address = IP address of the VPSEndpoint Port = 1195
IPv4 TCP, S: 10.10.90.1, P: *, D: 10.10.20.4, P: 80IPv4 TCP, S: 10.10.90.1, P: *, D: 10.10.20.4, P: 443IPv4 ICMP, S: 10.10.90.1, P: *, D: 10.10.20.4, P: *IPv4 TCP/UDP, S: Wireguard_proxyvpn net, P: *, D: Wireguard_proxyvpn net, P: 80
IPv4 ICMP, S: 10.10.20.4, P: *, D: Wireguard_proxyvpn net, P: *
N: Wireguard_proxyvpn, I: Wireguard_proxyvpn, G:10.10.90.1, MIP: 10.10.90.1
net.ipv4.ip_forward=1