weird. i guess i was expecting to see more action here.
anyway, this is not worth a full tutorial.. sorry... here are the basics..
ubuntu 20.04
install WARP, do not activate or connect to network yet
https://one.one.one.one/
install DANTE, just install it, do not do AUTH
https://www.digitalocean.com/community/tutorials/how-to-set-up-dante-proxy-on-ubuntu-20-04
first with WARP, whatever it does, i think routes DNS via their network or something, so basically you need to allow yourself IN and the
other server(s) that will use the proxy by running following commands after installing WARP (creates tunnel and adjusts the firewall), otherwise you'll be locked out:
Code:
warp-cli tunnel ip add MY.IP
warp-cli tunnel ip add MY.OTHER.SERVER.IP
and after that, run these 3
Code:
warp-cli registration new
warp-cli mode warp
warp-cli connect
note that now you won't even be able to install anything new, or at least I wasnt, until disconnecting WARP from network, or maybe changing its mode somehow.. dunno..
check your networks by running "ip a" command, you will see now that there's a newcomer there -
CloudflareWARP section..
so now i do not bother with PROXY AUTH part, just do the IP based stuff, so I add this to config (/etc/danted.conf) for each of the servers that will use proxy:
Code:
client pass {
from: MY.IP/32 to: 0.0.0.0/0
}
client pass {
from: MY.OTHER.SERVER.IP/32 to: 0.0.0.0/0
}
then I also edit this very important part of the config
Code:
internal: NORMALNETWORK port = THE_PORT_NUM
external: CloudflareWARP
pardon the "normal network" thing, it's the usual ETH0 or ENS3 or whatever.. you know what i mean.. it's also in "ip a" command's output.
anyway now restart danted service and just like that, you're ready! you can now use this as SOCKS://VPS.IP.AD.DR:THE_PORT_NUM, just don't forget to run "ufw allow THE_PORT_NUM" command on your VPS first..
so far i am comfortable with IPV4 but not able to access proxy via IPV6 that's assigned to it, not really familiar with IPV6 in general, but DANTE and WARP both work with IPV6 no problems, so if you know what to do, how to address the proxy via IPV6, - please, lemme know..
ufw allow command sets rules both for IPV4 and IPV6, so i think no extra setup is needed, given your VPS has both types of IPs assigned to it.. And technically when if IPV6 is available, WARP should prefer it, but it's all still unclear to me..
PS it's a tut after all..