Skip to main content
Home▸ Forums▸ 68kMLA▸ Networking a Powerbook Duo: serial -> OS X/unix -> internet — #51
Post #51 by tecneeq
Source Forum68kMLA
CategoryNetworking
Post DateMon, 18 Feb 2013 - 23:56
Original URLhttps://68kmla.org/bb/threads/networking-a-powerbook-duo-serial-gt-os-x-unix-gt-internet.9417/
Post
This one is old, but i guess it fell through the cracks. 8-o

Code:
My question is: when I want to stop the connection and the IP forwarding, I just type:

sysctl -w net.inet.ip.forwarding=0

or is it more complicated than that?
That would just stop IP forwarding. The OSX kernel can either transport packets from one network to another, say, from your 68kmac-OSX-serial-network to your OSX-ISP-network, or not. That is all. The 68kmac-OSX-network still runs, as long as the serial connection is established. Wich means, you can still accesss a FTP server on your OSX machine, but not on the internet. To stop the serial connection, kill the ppp daemon or client.