Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-15-2006, 01:58 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 16
Rep:
|
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
|
|
|
06-15-2006, 03:03 PM
|
#2
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
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).
|
|
|
06-15-2006, 03:35 PM
|
#3
|
Member
Registered: Apr 2005
Location: Jordan
Distribution: Debian (Sarge), Ubuntu (6.06)
Posts: 271
Rep:
|
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
|
|
|
06-15-2006, 04:19 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 16
Original Poster
Rep:
|
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
|
|
|
06-15-2006, 07:19 PM
|
#5
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
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.
|
|
|
06-15-2006, 07:48 PM
|
#6
|
LQ Newbie
Registered: Feb 2005
Posts: 16
Original Poster
Rep:
|
Ssh is allowed (port forwarding for ssh is setup by sysadmin).
|
|
|
All times are GMT -5. The time now is 01:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|