[plug] Dumb questino on networking

Mike Holland myk at golden.wattle.id.au
Wed Jul 8 12:02:12 WST 1998

On Tue, 7 Jul 1998, John Darrington wrote:

> As it is so trivial, I know that no-one will mind answering this.

John, it _is_ trivial.

> Kernel routing table
> Destination     Gateway         Genmask         Flags MSS    Window Use Iface
>     *      UH    1500   0        0 ppp0
>     *        U     1500   0        1 eth0

The '192.168.0' isnt a 'real' network address. You cant use it on the net.
But masquerading will make your whole network look like one machine.

Add to rc.local:

# add modules for extra protocols:
depmod -a
modprobe ip_masq_ftp
modprobe ip_masq_raudio
# Set forwarding policy. Default is deny. Masquerade for local ethernet.
ipfwadm -F -f
ipfwadm -F -p deny
ipfwadm -F -a masquerade -W ppp0 -S -D

- the IP-Masquerade mini-howto
- ipfwadm(8)
- /proc/net/ip_forward, /proc/net/ip_masq_app

Mike Holland <mike at golden.wattle.id.au>            Perth, Australia.
You can pick your friends, and you can pick your nose, but you can't
pick your friend's nose.

PGP ID 8B3D0765. FP: 30 07 BF 6C 9B 45 E8 C8  EA 30 4F 01 DC A2 91 88

More information about the plug mailing list