l0s
May 16th, 2004, 02:07 AM
So here is my situation. At my flat, I have a wireless router. I have a desktop PC and a PowerBook G4 with the built-in wireless and running 10.3. Prior to getting the wireless router, we had cables running through the hallways and all the computers had internet connections. Now, however, I would like to avoid cables running through like that. So I have my PowerBook connected to the router and I connect it to my PC with an ethernet cable. I enabled sharing of the internet connection from the wireless to the ethernet. On my PowerBook, the wireless nic has a 192.168.1.* ip address (static) and the ethernet has 192.168.2.1. I set up the PC with a 192.168.2.* ip address, set 192.168.2.1 as the default gateway and used the same dns servers as the PowerBook. At first, this seems to work. I am able to ping outside hosts to my heart's content. However, I am only able to connect to ports on remote hosts that correspond to ports that are allowed by my firewall. For example, I have an ssh daemon running on my powerbook, so port 22 is open. Thus, I am able to ssh from the pc to other hosts, but I am not able to browse the web from the pc, as that requires me to open up port 80. Of course, the problem goes away as soon as I turn off the firewall. So my question is this. Is there anyway I can get Internet Connection Sharing to work ( through some NAT scheme, maybe ) while the firewall is enabled? Thanks.