LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-15-2006, 01:58 PM   #1
hegedus
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Rep: Reputation: 0
ip masking


Hi!

I have a linux box at my work place.
From home I connect to the net tru an ISP.

I can not figure out how to setup my linux box (iptables?) to use as a proxy server (?) for IP masking: I would like to access web resources from home that work only with workplace IP.

Both my home computer and the web resource are outside of my work network.
home (homeIP) ---> linux (workIP) ---> |web| ---> linux (workIP) ---> home

Thanks for your help,
Tamas
 
Old 06-15-2006, 03:03 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 79
There are many levels at which you could approach this. If all you needed was access to your machine, you might try setting up ssh (with X forwarding if necessary). The next step up would be VNC. The most drastic would be a full-blown VPN. The `traditional' methods for each of these things would require listening on ports. This means that at your work, you either need your own public ip address (not nat/firewall) or you need to ask permission from the admin to enable port-forwarding.

There are other ways that involve your `at-work' computer initiating the connection. The only one I can think of is NAT-Traversal with IPSEC (when building a VPN). Unfortuantely this is very confusing to setup, and it is not guaranteed to work (but as long as there is only one user, it should work fine).
 
Old 06-15-2006, 03:35 PM   #3
Notwerk
Member
 
Registered: Apr 2005
Location: Jordan
Distribution: Debian (Sarge), Ubuntu (6.06)
Posts: 271

Rep: Reputation: 31
A very interesting setup

How about you setup remote administration for your workplace machine and log into it from home? This will allow you to work from home, but as if you were sitting at the workplace machine.

Have a talk with your sys/net admin at work and let him/her/(it?) know what you want, to see what they can help with. We can pick up from there, cause without the sys/net admin's approval it's gonna be a little more difficult/inappropriate to access the machine at the workplace remotely
 
Old 06-15-2006, 04:19 PM   #4
hegedus
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Thaks for the ideas.

1. I do not think I want to setup a VPN :-)
2. "remote administration": I do not want to have the GUI forwarded (I have dial up at this moment)\

I already have ssh; I am thinking to move to bradband at home, so the easiest way seems to be ssh to my computer and working from there...

Tamas
 
Old 06-15-2006, 07:19 PM   #5
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 79
Quote:
Originally Posted by hegedus
Thaks for the ideas.

1. I do not think I want to setup a VPN :-)
2. "remote administration": I do not want to have the GUI forwarded (I have dial up at this moment)\

I already have ssh; I am thinking to move to bradband at home, so the easiest way seems to be ssh to my computer and working from there...

Tamas
Yes, but traditional ssh requires approval of your admin (for port forwarding). I cannot think of a good way to do `NAT-Traversal' as is done in IPSEC. The only thing I can think of is a little hack, that would involve making a connection from your work to your house, and making ssh listen on that connection.
 
Old 06-15-2006, 07:48 PM   #6
hegedus
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Ssh is allowed (port forwarding for ssh is setup by sysadmin).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
masking email addresses linuxhippy Slackware 3 10-08-2005 10:55 AM
How to install an ip-masking proxy... Razorblade Linux - Networking 2 09-24-2005 02:23 AM
Apache IP masking? totalshredder Linux - Software 1 01-16-2005 06:08 PM
bit masking? blackzone Programming 1 08-10-2004 03:41 AM
packet masking??? icyfire Linux - Networking 5 11-26-2002 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration