Tunnel all traffic client -> AS -> client
Posted: Tue May 18, 2021 4:31 pm
Hello, i want to tunnel all of my traffic from one client to another client. I want to use my end client as a gateway to the internet (all udp and tcp traffic goes out through taht client).. here is the setup below.
client 1:
Wan IP X.x.x.220
vpn ip: 172.20.0.5
AS Server
Wan IP X.x.x.154
vpn ip: 172.20.0.6
client 2:
Wan IP: x.x.x.54
vpn ip: 172.20.0.7
client1, AS server, and client2 are all in different locations ( not on the same wan). They can all talk to each other right now but i basically connect to the vpn network in client1 to my AS server... but i want to then tunnel all traffic from client 1 through client 2. (so that the wan ip in client 1 on an ip check for example appears as client 2). This has to tunnel udp and tcp traffic. Currently, i can only get client 1 to tunnel traffic through the AS Server... what im looking for is that final step to tunnel traffic out of client 2.
client 1:
Wan IP X.x.x.220
vpn ip: 172.20.0.5
AS Server
Wan IP X.x.x.154
vpn ip: 172.20.0.6
client 2:
Wan IP: x.x.x.54
vpn ip: 172.20.0.7
client1, AS server, and client2 are all in different locations ( not on the same wan). They can all talk to each other right now but i basically connect to the vpn network in client1 to my AS server... but i want to then tunnel all traffic from client 1 through client 2. (so that the wan ip in client 1 on an ip check for example appears as client 2). This has to tunnel udp and tcp traffic. Currently, i can only get client 1 to tunnel traffic through the AS Server... what im looking for is that final step to tunnel traffic out of client 2.