Ssh port forward from local to global ip

hi i want to make my ssh access globally so how i can do it??

i have ssh ip and port username and ssh password

thanks in advance

make a hole in the firewall ?

1 Like

a few considerations

2 Likes

Are you trying to allow ssh access to your OpenWrt device, or something behind it? If you're trying to provide access to the OpenWrt router, what is your purpose (admin, using ssh-tunneling, etc.)?

In general, I'd recommend using a VPN instead of opening ssh access. This provides much more security -- especially if you use a protocol like Wireguard which will not even respond to port probes or any connection attempts that do not have authorized cryptographic keys.

2 Likes

i would like detailed instructions pls and also not trying to ssh on openwrt device rather its a raspberry pi

This should hopefully help:

1 Like