What is the name of the domain?
not related
What is the issue you’re encountering
Use “nft” to open a port on a linux machine that uses warp-cli in warp mode
not related
Use “nft” to open a port on a linux machine that uses warp-cli in warp mode
On a Linux machine, I have warp-cli
set to “warp” mode. When Warp is disabled, I can SSH into the server from another remote machine. It appears that Warp uses nft
to block access. I’m looking for a way to open a port on this machine so that I can SSH from any computer, not just a single known IP address. I attempted to add a rule to precede Cloudflare’s rules to open the port, but it didn’t work. Any suggestions on how to achieve this?
nft add table inet ssh_allow
nft add chain inet ssh_allow pre_cf_input '{ type filter hook input priority -10; policy accept; }'
nft add rule inet ssh_allow pre_cf_input tcp dport 22 accept
nft add rule inet ssh_allow pre_cf_input iifname "CloudflareWARP" tcp dport 22 accept