Originally Posted by knc1
That will be the first firewall hole-punching button.
To allow port 22 and fire up the ssh server with the correct options.
But you can use Wifi on your own home network, it is just the "free" public hotspots that do not (yet) work.
If you want to do it by hand:
iptables -t filter -I wlan-in -dport:22 -j ACCEPT
Or something like that, I may have the 'destination port' option typo'd - man page will show how to write it.
Without specifying a rule number to instert at, it inserts as Rule #1 - which is just the place is should go in the wlan-in chain.
Duh...
That was not an accident.
Also - notice you don't need a script - you can code that in the menu.json 'action:' field.
|