maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Port forwarding wlan0? (https://talk.maemo.org/showthread.php?t=72163)

azkay 2011-04-14 22:54

Port forwarding wlan0?
 
eg;
If I portforward 22 on my laptop (running debian), it forwards correctly.
If I portforward 22 on my n900, I still cant connect to it.

What do I have to edit to get it to let me portforward?

9000 2011-04-14 23:15

Re: Port forwarding wlan0?
 
May be you should show us the command you use first.

azkay 2011-04-14 23:18

Re: Port forwarding wlan0?
 
Im not using any command.
I portforward port 22 on my router set to the n900s wifi ip.

The port is still closed.
If I do, netcat 192.168.1.104 22 | nc 192.168.1.104 22 on the n900
then it stays open, but I need to keep netcat running.

How do I let everything pass, so to speak.
Without having to use netcat for every port I want to forward (and having to keep netcat running).

EDIT::
Fixed, used route add -net 192.168.1.104 netmask 255.255.255.0 gw * wlan0


All times are GMT. The time now is 11:12.

vBulletin® Version 3.8.8