Bekijk de volledige versie : Remote SSH Terminal
Hi,
I'm trying to ssh into my router remotely over the Internet. I can access it locally using either the router's IP or the Internet IP but not from another computer with another Internet connection. Whenever I try putty says: "Network error: Connection refused".
Any ideas?
Barefoot
02-01-2007, 11:29
Hi,
I'm trying to ssh into my router remotely over the Internet. I can access it locally using either the router's IP or the Internet IP but not from another computer with another Internet connection. Whenever I try putty says: "Network error: Connection refused".
Any ideas?
You don't accept connections from outside. As long as you don't provide more information, noone will be able to help you. Which firmware do you use? etc.... (The original firmware had a checkbox for this.)
Which firmware do you use?
Using 1.9.2.7-7e
The original firmware had a checkbox for this
You can't SSH with the original firmware.
#!/bin/sh
iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -t nat -A PREROUTING -i $1 -p tcp --dport 22 -j DNAT --to-destination$
iptables -A INPUT -j DROP
Here is my post-firewall.
http://members.optusnet.com.au/~adamas101/putty1.JPG
Internet IP goes here.
http://members.optusnet.com.au/~adamas101/putty3.JPG
Tunneling to the router.