Quantcast
Viewing latest article 9
Browse Latest Browse All 13

Open ssh on the WAN inteface in OpenWRT

To be able to administrate my OpenWRT router from Internet I need to open the ssh port on the Wan interface.

 

It is real simple, just add to following to /etc/config/firewall:

#open ssh on wan interface
config rule               
        option src              wan
        option dest_port        22
        option target           ACCEPT    
        option proto            tcp 

And restart the firewall:

#/etc/init.d/firewall restart

 

Image may be NSFW.
Clik here to view.
Share


Viewing latest article 9
Browse Latest Browse All 13

Trending Articles