Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    SSH reverse tunneling

    Hello all good people,

    OK i am need an expert for ssh tunneling so i would need a help with something i want to do, because i don't know is this even possible to do.

    So let's say i have server with installed RHEL5 and with no connection to internet, but since i have subscription number i want to register it to RHN.
    The way i am connecting to my server is with my laptop directly to server via patch cable or via Cisco switch (uplinks down, so no connection to net either)
    My laptop is connected also to the wireless network. So is it possible via reverse tunneling or maybe some other solution to use my laptop as proxy for RHEL server in order to register it to RHN??

    I hope you understand what i mean and thank you all in advance for the time and help.

    Regards.
    Zvone




  2. #2
    Join Date
    Jul 2012
    Posts
    60
    Thanks
    0
    Thanked 10 Times in 9 Posts
    Rep Power
    1
    I guess what you want is Internet sharing/forwarding.

    http://www.howtoforge.com/internet-c...ading-on-linux
    http://lindesk.com/2007/04/internet-...sing-iptables/

    (If those two don't help you, google `Internet sharing linux'.)

  3. #3
    Join Date
    Aug 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Kerms,

    I shared my wireless connection to LAN via i am connecting to server (address is then changed to 192.168.137.1). Then I have applied only some simple routing to connect my server to internet.
    But anyway no good for my case since i needed to change eth0 interface address on server side too (from 10.X.X.X subnet to 192.168.137.X subnet) and let's say I am not allowed to that.

    Anyway once again for your time.

    Regards

  4. #4
    Join Date
    Jul 2012
    Posts
    60
    Thanks
    0
    Thanked 10 Times in 9 Posts
    Rep Power
    1
    Are you saying you don't have root access to the server you're working on? Because what you're wanting to do is overly complicated, and can be easily solved by connecting your laptop and the server to a switch or router that's connected to the internet.

    If you're unable to request root access, and unable to do the hardware thing, I'd set up your laptop to act as a router or proxy server. If you're doing the router method, change the laptop's router's subnet to the same of the server.

    http://www.aboutdebian.com/proxy.htm

    Router:
    http://etutorials.org/Linux+systems/red+hat+linux+bible+fedora+enterprise+...

  5. #5
    Join Date
    Aug 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    No, no, i have root access. I agree with you regarding connection of my laptop and server to the switch. This is already done, connected and configured but uplink is not live so I don't have connection to internet from my switch

    The problem is, you should provide static IP address of your server to RHN in order to receive updates ( in my case this is address 10.xx.xx.xx) but since i have used this workaround we talked about in previous posts, i had to change this IP to another subnet (192.168.137.xx) because this is the subnet of my shared connection on my laptop via which i am connecting to RHN.

    Anyway thanks again and really don't bother anymore with it

    Regards

 

 

Similar Threads

  1. Replies: 1
    Last Post: 04-21-2012, 09:48 PM
  2. Replies: 0
    Last Post: 03-24-2012, 09:53 AM
  3. ssh server reverse connection
    By Michael Bourquin in forum Command Line
    Replies: 2
    Last Post: 02-16-2012, 12:46 PM
  4. SSH Keys
    By MustangV10 in forum Server Security
    Replies: 8
    Last Post: 11-28-2011, 10:22 AM
  5. Replies: 0
    Last Post: 11-24-2011, 05:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,570
Threads: 3,919
Posts: 9,440
Top Poster: Fred (1,486)
Welcome to our newest member, Kimani

» Links



Powered by vBadvanced CMPS