Networking with a Proxy Connection

From PearPC
Jump to: navigation, search

This guide will allow you to connect to the internet from a client (Mac OS X or a PowerPC Linux Distribution) in PearPC. It is recommended for users having issues with Network Bridging or Internet Connection Sharing.

Contents

Prerequisites

  • If you are using a Network Bridge for other LAN connections, you must use the Network Bridging method.
  • This proxy method can run simultaneously with the ICS service, but SOCKS functionality is completely disabled. If you are running Internet Connection Sharing on your PC, please use the ICS networking method.
  • CCProxy from http://www.youngzsoft.net/
  • The most recent OpenVPN Version.

Installing the OpenVPN Tap Interface

Open the OpenVPN application, and deselect all other options apart from the Tap-Win32 Virtual Ethernet Adapter in the installation menu. If a notice about Windows Driver Signing appears during the installation, click Continue Anyway.

After the installation, a new LAN connection will be installed. It will be named something like "Local Area Connection 2", but you can rename it to anything you like if you so desire.

Configuring Your Local Area Network

a) Open Control Panel from the Start Menu, and navigate to the Network Connections folder.

b) Right-click on the Tap-Adapter (called something like "Local Area Connection 2" if you decided not to rename it), and select the Properties option.

c) Scroll down the list to "Internet Protocol (TCP/IP)" (or "Internet Protocol Version 4 (TCP/IPv4)" on Windows Vista) and select the properties button below.

d) Click the button next to "Use the following IP address". Enter the following information:

 IP address: 192.168.0.100
 Subnet mask: 255.255.255.0
 Default gateway: Leave Blank
 Preferred DNS server: Leave Blank
 Alternate DNS server: Leave Blank

Make sure the IP address does not conflict with your real LAN IP address or router IP address.

e) Click OK twice, and close the Network Connections window.

Enabling the Realtek 8139 Network Card

a) Open your PearPC Configuration file.

b) Make sure the following lines are present:

  pci_3c90x_installed = 0
  pci_rtl8139_installed = 1
  pci_3c90x_mac = "de:ad:ca:fe:12:34"
  pci_rtl8139_mac = "de:ad:ca:fe:12:35"

c) Save your configuration file, and close the window.

Note: Mac OS X 10.2 users cannot use use the Realtek 8139 network card. You must use the 3Com 3c90x network card instead. Make sure the following appears in your configuration file:

  pci_3c90x_installed = 1
  pci_rtl8139_installed = 0
  pci_3c90x_mac = "de:ad:ca:fe:12:34"
  pci_rtl8139_mac = "de:ad:ca:fe:12:35"

Activating the Proxy Connection

a) Install CCProxy, and run the application.

b) After starting CCProxy, click the Options button.

c) On the proxy services side of the Options windows, only the following should be marked:

 Mail
 DNS

On the Protocol side of the Options window, only the following should be marked:

 HTTP/RTSP
 Secure
 FTP(Web)
 SOCKS/MMS

The "Local IP Address" (Auto Detect) box should also be marked.

d) Press OK, and minimize CCProxy.

Starting PearPC

Start PearPC via the command line, PearPC.net Package, shortcut, or any other method.

Configuring Mac OS X

Note: Mac OS X 10.2 users must install drivers for the 3Com 3c90x network card before continuing with this tutorial. It is recommended that you use the 'Easy Install Kext Package' from PearPC@Sourceforge.

a) Open System Preferences, and click the Network icon.

b) If a window is displayed and says that a new port has been detected, click OK, and then Apply Now. If a window is not displayed, do not worry. Networking can function perfectly using the Built-in Ethernet device.

c) Open the properties of the installed network card (either the detected NIC or Built-in Ethernet device). From the "Configure IPv4" drop-down box, select "Manually". Enter the following details:

 IP Address: 192.168.0.101
 Subnet Mask: 255.255.255.0
 Router: Leave Blank
 DNS Servers: Leave Blank
 Search Domains: Leave Blank

d) Click the "Proxies" button. Enter the following information for each proxy server listed:

 Web Proxy (HTTP)
 192.168.0.100 : 808
 Secure Web Proxy (HTTPS)
 192.168.0.100 : 808
 Streaming Proxy (RTSP)
 192.168.0.100 : 808
 SOCKS Proxy
 192.168.0.100 : 1080

e) Select "Apply Now" and close System Preferences.

f) Open the main drive shown on the Finder desktop and open the Applications folder. Now open the Utilities folder, and select "Directory Access". Click the lock to make changes (you need to enter your Mac OS X password here). Hightlight SMB, and select Configure. Set your LAN workgroup here. Press OK, click the lock to prevent unauthorised access, and close all open windows.

Connecting to the Internet

If you have succesfully completed all of the previous steps, you should now have fully operational internet access, for use with a browser, chat clients or anything else.

Open Safari or whatever browser you choose to use. The Apple site should immediately begin to load its startup page.

If the webpage does not load, go back and check the steps carefully. If this still does not work, your firewall may be blocking internet access.

External Links

clean up my mac

Personal tools