Dell Poweredge

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, August 30, 2010

SSH Tunnel Example

Posted on 9:30 AM by Unknown
Tunnel ssh from Local Machine to Remote Machine
and from Remote Machine to a Local Machine on
Remote Machines network.

Local to remote machine with 5900 tunnel
ssh -L 5900:127.0.0.1:5900 -l username -p 22 theactualurl.net

Remote to machine on remote network with 5900 to 443 tunnel
sudo ssh -L 5900:127.0.0.1:443 -l username -p 22 remotemachine.local

This allowed one on the local machine to connect to a webserver using https on the remote machines network. The address on the local machine is https://localhost:5900 or https://127.0.0.1:5900 and the connection is tunnelled through port 5900 but the actual server uses port 443.
Read More
Posted in | No comments

Wednesday, August 25, 2010

NIC IP Aliases

Posted on 5:31 AM by Unknown
I needed to and Aliases for some IP addresses to the ethernet card on the Rocks Cluster to allow individual nodes to have their own public IP addresses.
I created a copy of the /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth0:0. This new file was edited with vi to contain

DEVICE=eth0:0
HWADDR=xx:xx:xx:xx:xx:xx
IPADDR=xxx.xxx.xxx.xx
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes


/sbin/service network restart to update the changes made.

/sbin/ifconfig shows the new configuration.

The change was tested by connecting the node switch to the public 211 subnet and the ip address could be pinged from the subnet showing that the changes were working.
Info On Binding IP Addresses
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Using a clone image on new hardware.
    The Centos networking will not work after the new hardware is using a clone image. The problem occurs because the MAC addresses on the new h...
  • OpenWRT MR3220 Command Snippets
    Reset the OpenWRT on Router back to the default use the command mtd -r erase rootfs_data Turn Wifi off uci set wireless.@wifi-device[0].dis...
  • SSH Tunnel Example
    Tunnel ssh from Local Machine to Remote Machine and from Remote Machine to a Local Machine on Remote Machines network. Local to remote machi...
  • PXE Boot a Dban image from an Ubuntu Server
     Dhcp Offers from Ubuntu Server to Compute Nodes ****Note**** exercise extreme care with these notes I have made as you can boot and wipe an...
  • Setting up Open-SSH in Ubuntu
    OpenSSH I set-up Open-SSH by installing the package ssh using the command 'sudo apt-get -y install ssh' . I then edited the config f...
  • 1Password using Wine in Ubuntu
    This program would not run properly in Ubuntu 10.10 it would not allow the creation of a 1Password folder but installing DirectX9 seems to h...
  • MR3220 OpenWRT Extroot installation
    The TP-Link has OpenWRT installed using either tftp or via the serial port using Kermit. Install the packages for using USB as storage on O...
  • Wine Install IE7 Problems
    Info from Wine HQ App Testing Info To install use the commands below : Install with "export WINEPREFIX=~/.wine_ie7" then "win...
  • SSH Tunnel command
    Command to setup the tunnel ssh -N -p 11000 remoteuser@remotecomputer.net -L 5901/localhost/5900 To view from Local computer vncviewer 127.0...
  • Getting the Arnova 9 G2 into Recovery Mode
    To enter Arnova 9 G2 recovery mode, press the esc button then using a paperclip press the recessed reset button (its located on the top edge...

Categories

  • Cluster Login Problem
  • Hadoop Cluster Passwordless SSH login
  • Open-SSH Installation
  • Software Update Command Line

Blog Archive

  • ►  2013 (6)
    • ►  September (3)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (16)
    • ►  November (1)
    • ►  October (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (17)
    • ►  December (1)
    • ►  November (3)
    • ►  August (4)
    • ►  July (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ▼  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ▼  August (2)
      • SSH Tunnel Example
      • NIC IP Aliases
    • ►  July (4)
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile