Hello
Is there a way to tunnel SoftEther traffic through warp? so that we can bypass Spotify VPN IP blockage.
Tunnel SE traffic through warp
-
- Posts: 20
- Joined: Fri Jan 27, 2023 1:09 am
Re: Tunnel SE traffic through warp
I think it's worth mentioning I'm talking about implementing this on a Linux machine.
Current setup:
User <> Domestic server SE <> USA server SE
Current setup:
User <> Domestic server SE <> USA server SE
-
- Posts: 289
- Joined: Wed Dec 28, 2022 9:10 pm
Re: Tunnel SE traffic through warp
Yes you can
Assuming your have 2 servers A and B where A is the SE server and WRAP client and B is WRAP exit node
[ (client) ] === via SE ===> [ ( server A) + ( WRAP client ) ] === via WRAP ===> exit node
# WRAP
connect the WRAP and make sure it is a split tunnel not a full tunnel
make sure your ping the WARP gateway IP address
# SE
setup up SE server and add local bridge and users can connect to server A
# client
connect a client to server A and make sure users IP address has changed to server A IP address
# server A
you need to enable ipv4 forward
add iptable source nat
for example (change packets source to WRAP)
make a custom table
example
now SE clients should be connected to server B which is WRAP servers
Assuming your have 2 servers A and B where A is the SE server and WRAP client and B is WRAP exit node
[ (client) ] === via SE ===> [ ( server A) + ( WRAP client ) ] === via WRAP ===> exit node
# WRAP
connect the WRAP and make sure it is a split tunnel not a full tunnel
make sure your ping the WARP gateway IP address
# SE
setup up SE server and add local bridge and users can connect to server A
# client
connect a client to server A and make sure users IP address has changed to server A IP address
# server A
you need to enable ipv4 forward
Code: Select all
sysctl -w net.ipv4.ip_forward=1
Code: Select all
-A POSTROUTING -s IP/CIDR ! -d IP/CIDR -o WRAP-INET -j SNAT --to-source WRAP-CLIENT-IP
Code: Select all
-A POSTROUTING -s 192.168.168.0/24 ! -d 192.168.168.0/24 -o tun0 -j SNAT --to-source 192.168.100.2
Code: Select all
ip rule add from IP/CIDR lookup 1000
ip route add table 1000 default via WRAP-GATEWAY dev WRAP-INET
Code: Select all
from 192.168.168.0/24 lookup 1000
default via 192.168.100.1 dev tun0