[qtmoko-v58] Wifi && ssh inbound
adrien at adorsaz.ch
Sun Mar 2 10:24:02 CET 2014
Le dimanche 02 mars 2014 à 09:18 +0100, Matthias Apitz a écrit :
> I have Wifi up in my FR and can reach Internet; but I can not SSH into
> the FR over Wifi; I have checked:
> - IP addr on eth0 is 192.168.2.100
> - LISTEN is there as 'tcp 0.0.0.0:22 ...' (and IPv6 as well)
> - I restarted sshd, does not change problem
> - from my WLAN 'telnet 192.168.2.100 22' gives connection refused
> - even from inside the FR 'ssh 192.168.2.100' gives conn refused
> What does this mean? Some kind of firewall active in the FR?
Yes, a firewall rule is set in /etc/rc.local to allow ssh only through
usb (and avoid it through hs0 (the GSM modem) and wlan0 (the wifi)).
I don't know iptables, but you can read the documentation and modify the
line in /etc/rc.local to adapt it to your needs.
More information about the community