LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   linux box to remotely use mac os x ip for http (https://www.linuxquestions.org/questions/linux-networking-3/linux-box-to-remotely-use-mac-os-x-ip-for-http-283302/)

Samsara 01-28-2005 09:26 AM

linux box to remotely use mac os x ip for http
 
Hi All,

The following problem: I want to use the IP address of one machine (Mac OS X) for the http access from another machine (GNU/Linux) to the internet. Both machines are on the internet, but not on a local network. Only the Mac OS X machine has a static IP. My first idea was to ssh -X and use mozilla installed on the Mac OS X machine. That solution, even with compression, leads to extremely delayed responsiveness and is useless for production use.

I'm now thinking about VPN and proxy servers; I know there are other alternatives; hopefully someone can advise me what the easiest/best solution is. Would be nice if it's open source and beer-free, and devoid of security holes.

Thanks,

Samsara

peter_robb 01-28-2005 12:34 PM

You could use the Mac box as a gateway, which means setting it to NAT your connections to it's number..
Or set an http proxy on the Mac box then set your browser to use it..

Samsara 01-29-2005 10:13 AM

Quote:

Originally posted by peter_robb
You could use the Mac box as a gateway, which means setting it to NAT your connections to it's number..
I take it that's here:
Apple -> System Preferences -> Sharing -> Internet -> Start

The help document says this works only for local networks, but my situation is this:

Code:

+-------+                                    +-----+
| Linux |-----|      Internet    |-----------| OSX |
+-------+                                    +-----+

Also, is this kind of internet access password protected? Finally, how do I enter the mac as a gateway on a Fedora Core 3 system?

Thanks,

Samsara

Samsara 01-31-2005 09:26 AM

My next experiment will be to install squid on the mac and set up password protection for it - I saw a post about the following config:
Code:

acl AUTHUSERS proxy_auth REQUIRED
I guess that proxy_auth in the example is the password. I'll see if that does the job.

Best,

Samsara


All times are GMT -5. The time now is 08:04 PM.