/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Lee Isaacson wrote:
> Hi all you Linux Guru's,
>
> Sorry to bother you guys.
>
> I hope that you all had a great day yesterday.
>
> I am running Red Hat Linux 7 and connecting with an analogue modem on Com 2-
> I am also using a dynamic IP address from my ISP.
>
> In Linux I made the rc.firewall and saved it in the /etc/rc.d folder
>
> The rc.firewall contained the following lines :
>
> ipchains -P forward DENY
> ipchains -A forward -i ppp0 -j MASQ
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> I made the name servers on my Linux Box the DNS severs IP addresses of my
> ISP.
>
> On the Windows box I tried to make the default gateway the Windows Pc and
> the DNS server of my ISP. But that did not help me at all.
the gateway for the windows host should be the masquerading linux host,
shouldn't it? which host is actually connecting to the isp?
> When trying to view on Internet Explorer I get the following error
>
> Snip
>
> Forbidden
>
> You do not have permission to access http://www.msn.com on this server
>
> Apache /1.3.1.2 Server at leei.ours.com port 80
what's leei.ours.com?
> snip
>
> When trying to ping an IP address I get request timed out.
>
> What do I need to do to get my Internet Connection Shared ??
has your kernel been configured to masquerade icmp messages?
you probably need to do that if it hasn't already been done.
> Do I need to get the rc.firewall file to load and to make it executeable, if
> so how do I do it ?
to make it executable:
chmod 700 /etc/rc.firewall
to make it run, add a line to rc.local:
/etc/rc.firewall
> All advice and help would be greatly appreciated.
>
> Thanks in advance
>
> Lee
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.