Complete.Org: Mailing Lists: Archives: discussion: October 1999:
[aclug-L] Re: IPMasq problems
Home

[aclug-L] Re: IPMasq problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: [aclug-L] Re: IPMasq problems
From: John Reinke <jmreinke@xxxxxxxxx>
Date: Tue, 12 Oct 1999 01:14:06 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

>On Mon, 11 Oct 1999, John Reinke wrote:
>
>> >Some questions:
>> >
>> >Are you usning ipchains or ipfwadm?
>>
>ipchains
>
>> >What are the rules you have set up to forward packets?
>
>Look in /etc/init.d/network

This contains:

#! /bin/sh
# Bring up localhost link
ifconfig lo 127.0.0.1

# Bring up ethernet link
ifconfig eth0 172.16.1.1 netmask 255.255.255.0 broadcast 172.16.1.1 up

# Tell kernel to do IP forwarding
echo "1" > /proc/sys/net/ipv4/ip_forward

# Tell ipchains to do Masquerading
ipchains -A forward -s 172.16.1.0/24 -j MASQ


>> >Did you incorporate your rules in rc.local?
>>
>> Is rc.local the actual name of a standard file or directory? I can't seem
>> to find it on my system (debian). I have rc0.d -> rcS.d directories though.
>
>You're using /etc/init.d, which serves the same purpose.  You really don't
>need to worry about rc.local directly.
>
>
>Just a BTW question:  Are you running 'pon' after rebooting the machine?

Yes. Just to be sure, I rebooted and tried it again. It didn't work. Also,
poff didn't work this time.  After trying it, I typed "ps aux | grep ppp"
which listed "/usr/sbin/pppd call p" TWICE. killall worked to disconnect.

John



[Prev in Thread] Current Thread [Next in Thread]