Keeping Internet Sharing connections off Bonjour subnet

Hi,
I have my Mac Mini connected to my home lan via ethernet. I have set its Airport for Internet Sharing. Despite connections to the Airport being on a different subnet than my lan, any device using that Internet Sharing connected can "see" and access any Bonjour services (like Screen Sharing or AFP for example) on the lan.
Now I understand that those Internet Sharing connections connect to the router via NAT provided through my Airport on the Mini. But what I'd like to do is use ipfw or whatever to prevent the Internet Sharing subnet from accessing any IP on the lan with the exception of the router itself. With iptables I could probably figure this out (or get close), but I am not familiar with ipfw. Can anyone help me with setting up ipfw to do this?
Thanks,
Doug

I'm no expert but usually the router lets you share one ip address (assigned by your ISP) between several computers on an internal network and the computers can each connect via the router - they don't need to connect to each other. For example, I've got a set up with two computers (one is mine, one is my parents') and two airport base stations. One of the base stations acts as a router (the other just boosts the range so the signal is stronger upstairs) and it distributes internal ips between the other base station and the two computers. We share the internet connexion but neither computer is set up to share its own internet connexion.
So if you're asking what I think you're asking, I don't think you need to enable internet connexion sharing at all - you could just have the computers connect via the router. The only reason I can think not to do this would be if maybe the router doesn't allow wireless connexions and you needed to connect one of the computers using this method. Otherwise, I'd think you'd just connect both through the router.
If that doesn't help, it is probably because I have no idea what I'm talking about - or, rather, very little idea which is worse because it means sometimes I think I understand something a little bit!
- cfr

Similar Messages

  • Airport and internet sharing turns off by itself

    Hi everyone, I have an imac that I purchased earlier this year, and I use internet sharing to get internet for my ipod touch. Until a few months ago, this worked fine but now airport and internet sharing turn off every time I restart the computer and I have to turn both back on every time. Is anyone else experiencing this problem or know hot to fix it?

    Hi and Welcome to Apple Discussions...
    Download and install the v10.5.8 combo update available here.
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
    One of the "fixes" includes: - compatibility and reliability issues when joining AirPort networks.
    After the installation, repair disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Why does Internet Sharing Turn off when shut down/restart ?

    I've have had my Mac for a few months now and it has gone beyond my expentation it was defenatly a good buy . I was wondering if there is a way to keep Internet sharing on when I shutdown or restart my Macit would stop working. Ive went to bestbuy and tried this out in other macs and the same thing happened when I restart or shut it. Internet sharing would say it is enabled in preferences, but it no longer has the arrow point up. Apple could you please fix this on your next update I use this as a wireless router and it performes well except when I have to uncheck the box enable it again . Thank you

    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8156.html
    Your computer has to be ON to be able to use the Internet Sharing settings....

  • Why does my Internet sharing turn off daily?

    Why does internet sharing keep turning off?

    Are the Airport bars still black & showing good signal when it gets lost?
    Could there be another Network nearby on the same channel?
    Any Microwave sources like TVs, Cell Phones, Ovens around?
    Does the one providing Internet remain connect to the Internet when this happens?
    Is the Ethernet Interface on the Mac that connects to the Internet dragged to the top of System Preferences>Network>Show:>Network Port Configurations, with Airport below it?

  • 10.6: Internet Sharing turns off after restart

    I use Internet Sharing on my iMac to share the Ethernet connection from my computer wirelessly to my iPod touch. In Leopard, Internet Sharing would turn off after a restart. Snow Leopard fixed the problem for a while, but now it's acting up again. Any help?

    Using MacOS X 10.6.2 I have the same problem.
    My network configuration is just the other way around (wireless Internet and Ethernet LAN).
    Looking this up in Google first, I came across this older support link of Mac OS X 10.2:
    http://support.apple.com/kb/TA21168?viewlocale=en_US
    The solution provided there is not really helping though.
    However, it appears that this is a recurring issue Apple is struggling already longer with. Hope they straighten that out at one point.

  • Internet Sharing Cuts off

    I bought a mac mini a month or so ago (Leopard in the box but not pre-installed) to use as a media center and as a wireless router through internet sharing, the latter being a job my G5 used to do. Unfortunately, though my macbook connects to the network without problem, the macbook loses its internet connection usually after a couple of hours and I have to turn airport off and on on the mac mini in order to restore internet access on the macbook. I've looked around and heard of some airport issues with both Leopard and the Mac Mini, but haven't seen any solutions to this particular problem.

    Positive. As I said this machine is also used as a media center, and it has happened on several occasions while I was watching a video. I realize it is possible this is a Leopard issue, but I saw one report on another forum of someone else's mac mini with the same problem running Tiger, so I put this thread here.
    Message was edited by: chobit

  • Internet sharing: connected but no data

    Using MB Air 10.6.8 as host to share a USB Mobile Modem Internet connection.
    Connected a MB 10.7 as client via Airport to use the shared, working USB connection of the host.
    When making the network diagnosis on the client every light is "green", but no data is transferred from the web, the Safari screens remain empty.
    Its not the first time that I am making a internet sharing setup, but first time unsuccessfully.
    Any hint is appreciated

    For what it's worth, I'm having the exact same problem. I have been using the same setup for almost two years, Mini with Internet Sharing turned on, sharing over wifi, but suddenly this morning it just stopped working. Full bars on all devices (iPad's, iPhone's, etc.), but no Internet connection. I have tried restarting, resetting, etc., but nothing works. Not a happy camper right now.

  • Keeping internet GPRS connection while closing the lid of the powerbook

    I fixed the bluetooth problem that my connection to my Internet access provider was hanging evry 2-3 mn by properly stting the preferences in PPP options.
    Now when I am travelling for a quite long train period I would like to close the lid without deconnecting, and the same would be also nice for iTunes, I would like to be able to keep listening music while the lid is closed. How to have those activities on while the rest is sleeping?
    The same would be true for an iChat session running that depends on the existence of the internet connection.
    Is there any way to do that by setting properly some additional functions?
    Thanks for any help.

    There are programs available that'll allow you to prevent your laptop from sleeping when closing the lid. Not recommended though, since the cooling airflow is thus interrupted and the computer will therefore heat up the screen alongside other sensitive components.
    I'd suggest switching bluetooth and airport off, reducing the performance of the cpu (in "energy saver") and lowering the brightness of the display. This'll keep you running for up to three hours, provided you don't try to play dvd's, on a 15" PB. the 12"'s have been known to last a bit longer.
    Otherwise, get an iPod
    B.

  • Turning on Internet Sharing via Airport disrupts internet connection!

    I have a very strange problem.
    My iMac G5 (10.4.10) is connected to broadband via an Ethernet cable. Everything works perfectly, Google Earth works, emails come through, internet downloads are perfect...
    BUT!!
    When I turn on my Internet Sharing to share my Ethernet connection via my Airport connection (to let my husband surf the net on his PC) all **** breaks loose on my Mac.
    Google Earth does not function properly, all internet downloads (.dmg) come up with "codec overrun errors", all images sent via email downloaded through Entourage are corrupted, the list is endless. I have to turn off my Internet Sharing, turn off Airport, and then everything returns to normal again.
    Why is this, and can someone help stop the fights my Husband and I are having when it comes to sharing the Broadband connection through my Mac - I don't want to because my Mac goes crazy!
    Ta muchly!!!

    Sorry but an Ethernet hub will NOT properly share the ISP connection. The ISP only gives you a single IP address. If you use a hub (or Ethernet switch), the first computer you turn on will win and get the only IP address. The other computer will not be able to connect.
    To properly share the connection, you need to get a router. The router uses the single public IP address provided by your ISP and creates multiple local IP addresses for your computers.

  • Firewire Internet Sharing Probs

    Hi, looking for help to resolve the following issue: On my Firewire connected cpu, I can't get past the "You are not connected to the internet." dialog in Safari. Reaching the conclusion that one or more of my settings are incorrect.
    1st). 24" iMac w/ 10.5.1; connected to Cable modem via Ethernet
    (there is a 5-port switch prior to this cpu)
    Sharing > Internet Sharing (Firewire) - ON
    Network > Ethernet > Manually; IP Address: 69.92.45.xxx - Subnet: 255.255.252.0
    Router: 69.92.xx.x
    2nd). Dual 1 GHz Quicksilver w/ 10.4.11; connected to 1st cpu via Firewire
    Sharing > Internet Sharing (Firewire) - OFF
    Network > Ethernet > Manually; IP Address: 69.92.45.(same as above *plus 1*)
    Subnet: 255.255.252.0 - Router: 69.92.(same as above)
    I can see & browse files within Network > Servers yet, I'm not able to access the internet.
    Might anyone have a suggestion for this prob? I have searched for the answers w/ no concise results.
    Thank you for any help,
    Sim

    simoom,
    I'm surprised you're getting anything, on either computer. Let's see if we can't get you straightened out.
    First, computer #1 needs to get its IP address via DHCP, not manually (unless your ISP has told you otherwise; not very common). Plus, it would be a good idea to get rid of the switch. A switch is OK if it is downstream of a router, which itself acts as an internal DHCP server, but not when connected directly to a modem.
    So, computer #1 should be connected directly to the modem. It will talk directly to your ISP's DHCP server and acquire an IP address. It would appear that the Firewire Sharing is set up properly, so this should be fine once an IP address is nailed down.
    Second, computer #2 needs to gain an IP address the same way: via DHCP. When computer #1 has Internet Sharing turned on, it acts just a router would, issuing "private" IP addresses to the connected computer(s), then acting as a NAT router. On computer #2, configure a Firewire network port, and set it to look for an IP address via DHCP.
    Scott

  • Nokia Lumia 720 internet sharing DNS problem

    Hi,
    I am using Nokia Lumia 720 (OS version 8.0.10517.150) for internet sharing and have had DNS issues lately. When connecting to hotspot with my laptop I get DNS server is not responding error. Phone has data connection and I can browse the internet through phone but cant use it to share the data connection. When I connect my laptop with other wifis it works fine also so the fault must be in Lumias hotspot generation.
    Had the same problem few weeks ago but then restarting the device and changing hotspot settings helped but it does not do the job right now.
    Any ideas?

    Hi kalverk,
    Welcome to the forum! 
    Have you tried using your micro-SIM card with other internet sharing capable phones to verify it the issue is network or device related? Aside from your laptop, have you tried sharing your Lumia 720's internet connection with other phones?
    Here are some tips that might help you resolve the issue:
    1. If enabled, switch Battery saver mode off: Tap Settings > battery saver > Off. You can also just connect the phone to the charger.
    2. Check the signal strength on the phone screen. To increase the signal strength, move around or move towards a window if you are inside a building.
    3. Keep your phone in the idle mode. Incoming or outgoing call will interrupt the data transfer until the call ends.
    4. Check the cellular data indicator (E, 2G, 3G, H+, 4G) at the left side of the phone's screen. Change the mobile network's highest connection speed from 3G/4G to 2G and back again to make sure that your phone is connecting to the network correctly. Go to Settings > mobile network (or mobile + SIM or cellular or cellular + SIM).
    5. Make sure that the internet sharing security type (if not selectable, WPA2 is used) and password settings match between the connecting device and your phone (Settings > internet sharing).
    6. Make sure that the operator mobile data plan subscription allows Wi-Fi tethering and your network operator has enabled internet sharing on the phone.
    7. If possible, try to create a connection with some other device or force the connecting device Wi-Fi adapter to use 802.11g standard - disable 802.11n mode. On a Windows PC, go to Control Panel > Network and Internet >Network Connections, and right click your active Wireless Network Connection and open Properties >Configure > Advanced, then select 802.11n and set value to Disabled. Once ready, press OK.
    8. Connect again, as internet sharing switches off after 5 minutes of inactivity.
    Let us know how it will go. 

  • Airport Internet Sharing Problem  Mini - PC Laptop

    Airport Internet Sharing Problem
    My setup is:
    Cable Modem -> Mac Mini --> PC Laptop
    ... with the connection between the mac mini and the PC laptop being the built-in mac mini airport using internet sharing.
    Hi, I've been trying to set up Airport internet sharing with the mini, to no avail. It works off & on, but invariably the internet connections drop after about 10 minutes. The only way to get it started again, is to go into internet sharing, turn off internet sharing, then turn it on again. It will work for another 10 minutes or so (slow) after gong back to the PC laptop and reconnecting, then it chokes again.
    I've tried the connection both with & without WEP, same behavior. I read somewhere that OS X only plays well with using Channel 1, so I tried that. No luck. Tried with and without Interference Robustness, no luck.
    Tried with WEP on and using 40 bit hex keys using a "$" prepend in the mac as suggested on this web page:
    http://www.macosxhints.com/article.php?story=20030803030354585
    Same behavior, works for 10 minutes, then it chokes again.
    Tried with & without the firewall.
    Yes, personal web sharing is on.
    The PC laptop works fine with any number of other wireless routers out & about town, at my girlfriend's house, so forth.
    Any chance I have a bum mac mini wireless card or antennae or something? The reception strength on the PC laptop is good.
    Just don't know what to make of it. So stupid, it seems like something pretty basic that ought to work.
    Yeah yeah tell me to get a wireless router, but I'm not going to do that, that's one major reason I bought the mini in the first place and it would be nice if it worked as advertised.
    Any other suggestions?

    Works better now...
    this is me again. A week ago or so, I noticed there was an automatic update to the wireless on the mac mini.
    Since then the performance is much improved. My PC laptop connection to the mac mini no longer drops spontaneously.
    Much improved! Thank you very much!
    Yes, on occasion, when I leave and then come back to use the wireless, the laptop will not reconnect after multiple attempts; I have to turn of internet sharing and flick it back on again, but then it works all evening fore hours and hours straight with no problems.
    Thanks Apple! It's usable now!

  • Internet sharing WEP password problems

    Hi,
    I just bought a new Ipod Touch (2nd gen, 2.1 software). To connect to the internet, I share the internet connection from my MacBook Pro using the airport. I added a 40-bits WEP password. The first time I use it, it works perfectly fine, but if I turn off the airport and restart the sharing again, my iPod touch is not able to join anymore. The error message says "wrong password". If I open the sharing preferences in the mac and reset the password, it works again, but it is very annoying to do it every time.
    Has anyone experienced this issue?
    thanks,
    C.A.

    ... a few months later, you get a response.
    I don't know if our issues are related, but I found that if I simply turn off airport on my MBP, and the turn it back on the ipod will reconnect (no need to change the pw).
    My issue was just with the internet sharing connection dropping every 2 - 5 minutes. I'm trying a static IP on my ipod... maybe that will help.
    Anybody else encounter this type of thing?

  • New iMac won't sleep with internet sharing on

    Less than 3 month old iMac (core i5) has stoppped being able to sleep when Internet Sharing is enabled. It took me a good while to narrow it down to that but I've confirmed that when Internet sharing is off, it will sleep as it's supposed to. When sharing is on though, not only will it not automatically sleep per the energy saver setting, it wo'nt even sleep when forced with the Apple command. The display will  turn off, but the machine does not sleep. I can tell by the facts that my wifi access on my iPhone continues to run off the iMac, and the Caps lock on the keyboard remains lit. (Too bad the blinking LED is no more on the new iMacs).
    Sleep was working fine when I first got the new machine; it seems to have stopped shortly after I upgraded to Lion. (I think it may have been working for a few days after installing Lion, but I'm not positive...I'm thinking now I just thought it was asleep because the display would turn off.)
    I've looked at all the related sleep posts I could find but nothing seems to address this particular issue. I know I could just turn off sharing whenver I want it to sleep, but tha't's like having to disconnect my car battery when I want to shut the car off.
    Any help is appreciated.
    Thanks,
    Jamie

    Well, I'm certainly no expert at this and I'd never enable internet sharing (being too concerned about the health of my Mac and/or not knowing what untoward sites/networks/people may be seeking access), but it seems to me that having it turned on means that your computer is sharing a connection, so anytime anyone on the network seeks access, it will either wake up the Mac or cause it to stay awake. Here is an excerpt from the Help Menu (in Finder) (which has nothing to do with your question, but I found it interesting nonetheless):
    If your Internet connection and your local network use the same port (Ethernet, for example), investigate possible side effects before you turn on Internet sharing. In some cases (if you use a cable modem, for example) you might unintentionally affect the network settings of other ISP customers, and your ISP might terminate your service to prevent you from disrupting its network.

  • Internet Sharing and machinename.local

    Hi! I've recently set up my Mac mini (10.4.6) to run Internet Sharing, and ethernet connections to any laptop I connect works beautifully. (For exactly what I did to get this set up, visit http://www.aleph0.com/computing/macosx/dhcp-setup/ , but nothing there is really beyond the basics you might expect.)
    One tiny feature I don't have working is the ability to connect the "internal" computer and the mini using aliases---only IPs are possible. For instance, the "Sharing" panel suggests other computers can connect to the mini as "natalie.local"; similarly, when I connect a Windows laptop named "will" to the mini, /var/db/dhcpd_leases even shows it's connected as will---but I can't connect from one to the other using those names. (i.e., via http---both are running web servers---or via sftp---both are running sshs as well), while connecting with the numerical IPs works fine.
    So after that ramble, I wouldn't be surprised if "natalie.local" is really only suppose to work with AFP, and will with SMB, but thought I'd ask for suggestions. I've considered playing with DNS on OS X to work on such a possibility, but I thought I'd ask first....
    Thanks for any pointers!
    CDJ
    Mac mini (Original)   Mac OS X (10.4.6)   Running Internet Sharing (connected to Internet via AirPort, "internal" via ethernet)

    Otherwise run your own dns server on your LAN.
    This is what I expected to have to do on the mini---I have a DNS server, but the mini with Internet Sharing doesn't send any information to it; that's what I'd like to figure out how to do. Perhaps stepping back and stating the basics of what I'd like would help:
    I have a mini running 10.4.6 (natalie), connected (via the rest of my home LAN) to the Internet via AirPort, and the ethernet jack is unused. I'd like to connect a laptop (will) (that uses DHCP, but OS- and software-unspecified) via ethernet to the mini, access the Internet, and allow the two machines to address one another as "natalie" and "will" (or "natalie.local" and "will.local", etc.) for TCP/IP commands, instead of "192.168.2.1" and whatever address is assigned to will. This works after installing Bonjour on will, but I'd like to not have to install Bonjour on the laptop (specifically, I'd like to connect any random laptop that can use DHCP).
    Am I wrong in thinking there should be a way for natalie to "take over" this portion of the DNS, or at least update my LAN's DNS server so that the process is still seamless for will?
    Thanks again,
    CDJ

Maybe you are looking for