Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

modem? | 10 comments | Create New Account
Click here to return to the 'modem?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: saint.duo on Oct 20, '02 07:43:46PM

How much would need to be changed about these instructions if I use a dialup/modem connection and want to share it to other machines via ethernet?
Do I only have to change the connection type on the server in the network prefs pane from ethernet to modem, and make sure it is set correctly?

[ Reply to This | # ]
Authored by: carson on Nov 24, '02 10:31:20AM

For a modem connection, you'll need to replace eth0 with ppp0 in most

ipfw add divert natd all from <?? any ??> to any via ppp0

Note that I've put some question marks in there. Redirecting ALL packets
isn't very safe. I'd change that to your LAN's ip address and subnet mask. For example:

ipfw add divert natd all from to any via ppp0

You could replace with a specific computer on the LAN and repeat for each computer you want to allow access. That would be even better security although slightly slower performance wise (negligible). Hope that helps.

Everything should run as expected.


[ Reply to This | # ]