Archive for August, 2008

The Redneck Geek’s new toy!!

Lisa ( my wife ) was looking on Craig’s List Friday night and found a deal on this Kawasaki Vulcan that we could not turn down!!

My wife and Craig’s List ROCK!!!!

It is a 1996 Vulcan “Eighty Eight”, 1500cc V-Twin.


Create ISO image from files on Ubuntu

from the console applet type “apt-get install isomaster”

This will also allow you to modify existing ISO images.


Labeling a Disk Partition in Linux

There are 6 programs used to label a partition – the program used depends on the partition’s filesystem type:

  • For FAT16 and FAT32 partitions, use mtools.

  • For NTFS partitions, use ntfsprogs.

  • For ext2 or ext3 partitions, use e2label.

  • For JFS partitions, use jfs_tune.

  • For ReiserFS (v3) partitions, use reiserfstune.

  • For XFS partitions, use xfs_admin


WAN Issues

Problem #1:

One location on the WAN has it’s own external internet connection. The is a WatchGaurd FireBox x10 that protects that connection. Eleven computers at that location need internet access, but the FireBox only allows ten clients internet access.

Problem #2:

Another location needs to use the above location for internet access, instead of the default route to the internet, so that they can share access to a premium web site.

Problem #1 solved:

Solution:

  • Add Dante Server to an existing Linux workstation at the location so that other computers at that location could use it as a proxy to get to the internet therefore circumventing the “out of licenses” issue with the firewall.
  • I was unable to make Dante act as a proxy for incoming requests to an ip address (the firewall) on the same subnet. So I connected the “optional” network on the firewall to the switch with a different IP subnet than the “internal” network of the firewall. (You can have more than one IP subnet on the same network segment, but they don’t see each other.) Next, I added a second NIC to the workstation running Dante, and attached it to the same network segment, on the same IP subnet as the “optional” network of the firewall.
  • Everything works!!!Here is the working danted.conf file:********* BEGIN DANTED.CONF********************************
    logoutput: danted-server

    internal: eth1 port = 1080
    internal: 127.0.0.1 port = 1080

    external: eth0

    method: username none
    client pass { from: 192.0.0.0/8 port 1-65535 to: 0.0.0.0/0 }
    client pass { from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0 }
    pass { from: 192.0.0.0/8 to: 0.0.0.0/0 protocol: tcp udp }
    pass { from: 127.0.0.0/8 to: 0.0.0.0/0 protocol: tcp udp }

    user.privileged: proxy
    user.notprivileged: proxy
    user.libwrap: proxy

    ********* END DANTED.CONF********************************


LogMeIn now please!!!

Have you heard about “LogMeIn”?

LogMeIn.com is AWESOME!! They allow to connect to all of your computers remotely thru a web browser, regardless of firewalls, routers, etc.  And the greatest part is?  IT’S FREE!!!!!

Check it out: http://www.logmein.com


Redirect to a different web page using the “META” refresh tag

The following html code will redirect you to another web page or site immediately.

<html >
<head>
<meta http-equiv=”refresh” content=”0;url=anotherpage.htm“>
</head>
<body>
</body>
</html>


Setup Dante proxy server for use with SSH Tunnel

This is short and sweet, it assumes the you are comfortable with the linux configuration from the command line.

On the server:

  • apt-get install dante-server
  • use the following for /etc/danted.conf
internal: 127.0.0.1 port = 51080 #note: you can use any available port here.
external: REAL.SERVER.IP
clientmethod: none
method: none
client pass { from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0 }
pass { from: 127.0.0.0/8 to: 0.0.0.0/0 protocol: tcp udp }
user.privileged: proxy
user.notprivileged: proxy
user.libwrap: proxy
  • Restart Dante: /etc/init.d/danted restart

On the client:

  • Connect and establish port tunnel:  ssh -L 51080:127.0.0.1:51080 user@host
  • Configure your browser, ftp client, etc….  to use sock5 proxy,  host=localhost, port=51080

Enjoy!


  • Sponsored Links

  •  

    August 2008
    M T W T F S S
        Nov »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • Categories

  • (c)Copyright 2007-2010, Dale Sanford
    Jarrah theme by Templates Next | Powered by WordPress
    Easy AdSense by Unreal