[aclug-L] Re: IPMasq problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
>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
- [aclug-L] IPMasq problems, John Reinke, 1999/10/09
- [aclug-L] Re: IPMasq problems, Bryan A. Nelson, 1999/10/09
- [aclug-L] Re: IPMasq problems, John Reinke, 1999/10/10
- [aclug-L] Re: IPMasq problems, Mohammad Islam, 1999/10/10
- [aclug-L] Re: IPMasq problems, John Reinke, 1999/10/11
- [aclug-L] Re: IPMasq problems, Jonathan Hall, 1999/10/11
- [aclug-L] Re: IPMasq problems,
John Reinke <=
- [aclug-L] Re: IPMasq problems, Jeff, 1999/10/12
- [aclug-L] Re: IPMasq problems, Dale W Hodge, 1999/10/12
- [aclug-L] Re: IPMasq problems, John Reinke, 1999/10/12
- [aclug-L] Re: IPMasq problems, Jeff, 1999/10/12
- [aclug-L] Re: IPMasq problems, part 2, John Reinke, 1999/10/13
- [aclug-L] Re: IPMasq problems, part 2, Jonathan Hall, 1999/10/13
[aclug-L] Re: IPMasq problems, Jeff, 1999/10/10
|
|