Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > NATD is fun

NATD is fun
Thread Tools
superlarry
Senior User
Join Date: Jan 2001
Location: california
Status: Offline
Reply With Quote
Dec 6, 2001, 03:50 PM
 
i'm now using OSX's built-in NATD to share my PPP AOL connection.
i've stumbled across a performance problem, though:
whenever i want to communicate with a machine on my LAN, i use its private IP, but the connection is forwarded through PPP and only reverted to my LAN again when the PPP attempt times out. any ideas how to fix this? i've tried going through ipfw's manual and passing/diverting from "any to not (LAN addresses)" and "not (LAN addresses) to any" to no avail. any ideas? or maybe a correct form for these? the setup script i'm using is:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> #!/bin/sh
/usr/sbin/natd -dynamic -interface ppp0
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via ppp0
/sbin/ipfw add pass all from any to any </font>[/code]
also, my private network is has addresses 10.1.1.*
thankya :cD
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:20 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,