ssh reverse tunnel
Shimitar @ Shimitar @downonthestreet.eu Posts 12Comments 463Joined 6 mo. ago

Shimitar @ Shimitar @downonthestreet.eu
Posts
12
Comments
463
Joined
6 mo. ago
Deleted
Permanently Deleted
Wire guard + some nft tables or ip tables rules is a much better solution.
Ssh on itself can do the port forward part but for the routing you still need the above mentioned rules. In addition, ssh will not autoreconnect if anything happens and you need to add autossh or some other solution to keep it rolling.