Can you use a linux box as a proxy from one to all ports?
Linux - NetworkingThis 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.
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.
Can you use a linux box as a proxy from one to all ports?
Hi,
I have two computers, one linux and one osx. I also have two network connections at different sites I use to get online (LANs). One connection is firewalled, the other is not.
What I want to do is set up one computer (the osx box preferably) to allow some sort of connection from the other, and then pass on the connection as a proxy server. I don't want to just pass one type of connection over one port but all protocols over all ports. This should allow me to do things like play internet chess and online games such as warcraft 3 from the computer on the restricted network.
I think there may be a firewall between the two machines but I'm not certain about this (both subnets belong to my university). If they are not firewalled relative to each other then I think this should make the problem easier.
I don't control the network however, and can't change any router settings or anything like that.
Does anyone know of a method to set this up? Any suggestions for further research if you don't know?
Any comments about security or limiting access by ip / mac address?
external (unrestricted) ----- mac (freebsd) ------ Linux (slack10) --------- external (restricted)
The connection to the mac is through the same network, both probably connect therough the same gateway. I've been trying to setup a socks server on the mac, which *should* allow an unblocked connection for socks aware programs (is this correct?).
The other setup would switch positions of the mac and the linux box.
If possible I'd like to use some sort of security so no other computers could use any proxy / router setup implemented.
sorry. this goes beyond my knowlege. Sounds resonable, though.
A similar situation, which might help:
-----------------
|my network| includes coyote linux router (two cards) which links to =
----------------- -----------------------
|external network|
| (and internet) |
-----------------------
I'm getting close I think, I can pipe a ssh connection so that an app can connect via localhost which seems to work quite well, also I'm thinking of running an x app but piping it through the ssh tunnel, to give the same effect as the forwarding (but really the app is running on the other machine).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.