Edward Dekkers <[EMAIL PROTECTED]> wrote/sniffed: ;-)
>I have named set up properly as a forwarding resolver. When I ask my win PC
>to ping opera.iinet.net.au, for example, it correctly fills in an IP
>address, but then the requests time out. On the Linux box everything is
>fine. The gateway is set correctly.
>
>I tried setting ipchains rules up in linuxconf first, but I couldn't get it
>to work, in fact, it peed me off so much I trashed the module again, and
>thought I'd go back to the old trusty rc.local to do it. Yes, I turned
>everything off again (I believe).
>
>But I can't get it to go :(.
>
>My rc.local contains at the end of the other stuff:
>
>echo "1" > /proc/sys/net/ipv4/ip_forward
>echo "1" > /proc/sys/net/ipv4/ip_dynaddr
>/sbin/ipchains -P forward DENY
>/sbin/ipchains -A forward -s 192.168.0.0/16 -j MASQ
>
>I'm 99% positive that's all I used to do to make it work.
>
>Am I missing something or is there something different about 6.2?
I don't have 6.2 yet, but here's some things that *might* help:
Try deleting/flushing all the chains first - '/sbin/ipchains -X' and
'/sbin/ipchains -F'.
I'm also wondering if you need to specify a destination address or if
ipchains assumes anywhere if you don't. Try '/sbin/ipchains -A forward -s
192.168.0.0/16 -d 0/0 -j MASQ'
Have a look at the rules and see if they look like you expect them to as
well: '/sbin/ipchains -L' or '/sbin/ipchains -nL' to see them without DNS
resolution.
-Eric
Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]
Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.