- Make sure the Windows Firewall is off
- On the Exceptions Tab of the Window Firewall, make sure "File and Printer Sharing" has a check.
- Disable UPnP. This is found in Add/Remove Programs >> Add/Remove Windows Components >> Networking Services
- In the registry: "HKey_Local Machine/System/CurrentControlSet/Control/LSA" change "restrictanonymous" from 1 to 0
Friday, August 31, 2007
Can't see a PC's Shared Files on a Windows Network?
Ever have one PC on your home windows network that you just can seem to access the shares? Well here's some things to check:
Labels:
File and Printer Sharing,
not accessable,
regedit,
registry,
Windows
Wednesday, August 15, 2007
SSH and DNS Tunneling with DD-WRT (SOCKS Proxy)
In my previous article "Punch through your corporate firewall..." I showed you how to leverage a server on the internet to forward your web traffic. I've found another way to tunnel your HTTP traffic using a cheap router and a firmware upgrade called DD-WRT. If you are interested you can check out their site and see if your router is supported by their firmware.
In any case this is what you have to do, I'm assuming that you've already flashed your router with the new firmware and are ready to go:
In any case this is what you have to do, I'm assuming that you've already flashed your router with the new firmware and are ready to go:
- Open the DD-WRT administration page and enter your password.
- Click the tab that says "Administration"
- Click the sub-tab called "Management"
- In the Management tab look for the item that says "Remote Access", inside the box you'll see "SSH Management", select "Enabled"
- Change the SSH remote port to something other then "22" otherwise your router will constantly be bombarded by SSH attacks. I suggest something like "2345" or "6543".
- Click "Save Settings" at the bottom of the page.
- Now Click the sub-tab called "Services"
- Scroll down until you see "Secure Shell"
- In this box you want to "Enable" both "SSHd" and "Password Login"
- Again change the port to whatever you chose before, it should be the same one.
- Click "Save Settings" again.
- Now Click the "Reboot Router" button.
- When it comes back it should be ready.
- Download the PuTTY client
- Run it
- Type in the Internet address of your router
- Enter the port number you want to connect to (i.e. 2345, 6543, etc...)
- Make sure the SSH radio button is selected.
- On the left, navigate down to Connection >> SSH >> Tunnels
- In the "Source Port" box type in 10000
- In the first set of radio Radio buttons select "Dynamic"
- In the second set make sure "Auto" is selected
- Click the "Add" button
- Scroll all the way back up to "Session" and click it
- Give the session something generic "Router Tunnel" is fine.
- Click "Open" to start the session
- At the username prompt enter "root", then your router's password (you changed it from the default, right?)
- Download and install FireFox, if you can't install anything you should get the thumb drive version which doesn't require installation
- Start Firefox
- Go to "Tools" >> "Options"
- Click the "Advanced" Tab
- Where it says "Configure how firefox connects to..." click the "Settings..." button
- Select the "Manual Proxy Configuration" radio button
- In the "SOCKS Host" box type in "localhost"
- In the port information for the SOCKS Host type in "10000"
- Make sure "Socks v5" radio button is selected
- Clear out the "localhost,127.0.0.1" entries in the "No Proxy for" box
- OK your way back to firefox browser window
- In the address bar type "about:config" and hit enter, this will give you FireFox's configuration guts.
- In the filter type in "dns", this will cut down the options so you don't have to go shuffling through a bunch of crap
- Look for the option "network.proxy.socks_remote_dns"
- Double click it so the value changes to "true"
- Hit the home button to now you're loading your pages through the proxy.
Subscribe to:
Posts (Atom)