YESDo I need to even use putty and does it need to be run each time?
NO, this would be your external IP/hostname, the address your router gets assigned by your ISP.In the PUTTY configuration if wanted me to put in "login2.nikhef.nl" as the destination. Would I substitute this out for my IP address of my FreeNAS box?
In the PUTTY Sessions section, the guide says to just save the config but do I need to fill in hostname/port?
You still need to do the rest of the instructions, but you're almost finished.Is the point of this guide to give me access to a Samba share when outside of my home network?
2011-10-18 23:03:26 Local port 10.255.255.1:44445 forwarding to 192.168.1.50:445 2011-10-18 23:03:26 Allocated pty (ospeed 38400bps, ispeed 38400bps) 2011-10-18 23:03:26 Started a shell/command
2011-10-18 23:05:38 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:38 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:38 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:38 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:39 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:39 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:39 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:40 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:40 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:40 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:41 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:41 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:41 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:42 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:43 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:05:44 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:05:59 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:05 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:05 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:05 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:05 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:06 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:06 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:06 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:06 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:07 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:07 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:08 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:08 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:08 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:09 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:10 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:10 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:10 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:10 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:11 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:12 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:12 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:12 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:12 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:12 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:13 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:13 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:13 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:14 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:14 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:14 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:14 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-18 23:06:14 Opening forwarded connection to 192.168.1.50:445 2011-10-18 23:06:15 Forwarded connection refused by server: Administratively prohibited [open failed]
L10.255.255.1:44445 192.168.1.50:445
L10.255.255.1:44445 MY.EXT.IP:445
2011-10-19 10:37:06 Forwarded connection refused by server: Administratively prohibited [open failed] 2011-10-19 10:37:06 Opening forwarded connection to 192.168.1.50:445
I wonder if I have found the problem. I am running DD-WRT on my router and noticed that under Services, "Secure Shell" was disabled. Here are my settings now under DD-WRT Services-->Secure Shell:
Under the Destination section, I have "local" and "auto" choosen. It doesn't seem to "work" any other way.
I opened up port 44445 --> 445 for port forwarding on my router.
Forwarded connection refused by server: Administratively prohibited [open failed]
The tunnel needs an endpoint to decode and then forward on the local network. You can use your router to do that, but I'll bet it's not setup for it. I think what's happening now is your router is just forwarding the tunnel to your FreeNAS box and FreeNAS doesn't know what to do.
Forwarded connection refused by server: Administratively prohibited [open failed]
part of the instructions. The beuk.nikhef.nl part should definitely be changed to your external IP address..... that the portproxy was applied successfully by checking the open ports on the system. Type in the command console
netstat -an | find ":445 "
You should see something like
TCP 10.255.255.1:445 0.0.0.0:0 LISTENING
If you see '0.0.0.0:445' instead then the 'portproxy' rule was not applied correctly.
tells me that your router (the server) refused the connection. If you have the password authentication enabled, when you connect with Putty, I think you should be prompted to login to your router before it'll accept the tunnel connection. That's what happens when I connect with the Putty/tunnel connection I was using this summer. Take a look at the DD-WRT link above again and compare the settings they tell you to set with the ones from the tutorial and look at the logging in part. Actually, you should be able to ssh to your external IP address and tell Putty to use port 445 instead of 22. If that works you should get a login prompt and be able to access your router. Try setting up another Putty test configuration and follow the instructions in that link above and see what happens when you try to connect to your router from outside your local network (use 445 where they say 443).Forwarded connection refused by server: Administratively prohibited [open failed]