> Hi!,
> > But even though ip fowarding is on, I still can't ping anything on the
> > internet. Is there something else I have to do with the rc.firewall script?
> Okay, can you remember whether or not you installed a firewall when the system
> was being installed. What does the output of /sbin/iptables -L -t nat look
> like and what does the output of /sbin/iptables -L look like and the output of
> /sbin/ifconfig ?
I did a full of install TurboLinux Server 6.0(LITE), and it came with
ipchains, but I removed it and put iptables on when I upgraded to the
2.4.7 kernel. I've patched the kernel to 2.4.8 and that's what it's
runing now.
Ok, here's /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:CC:7D:2F
inet addr:192.168.205.27 Bcast:192.168.205.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:171182 errors:0 dropped:0 overruns:0 frame:0
TX packets:157844 errors:0 dropped:0 overruns:0 carrier:0
collisions:10615 txqueuelen:100
Interrupt:9 Base address:0xb800
eth1 Link encap:Ethernet HWaddr 00:30:84:31:9F:0F
inet addr:24.36.34.43 Bcast:24.36.43.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:430011 errors:0 dropped:0 overruns:0 frame:0
TX packets:165239 errors:0 dropped:0 overruns:0 carrier:0
collisions:3405 txqueuelen:100
Interrupt:12 Base address:0xb400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:264 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
here's /usr/local/sbin/iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
and here's /usr/local/sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
and if it helps, here's netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
24.36.34.43 0.0.0.0 255.255.255.255 UH 40 0
0 eth1
192.168.205.27 0.0.0.0 255.255.255.255 UH 40 0
0 eth0
24.36.34.0 0.0.0.0 255.255.255.0 U 40 0
0 eth1
192.168.205.0 0.0.0.0 255.255.255.0 U 40 0
0 eth0
0.0.0.0 24.36.34.43 0.0.0.0 UG 40 0
0 eth1
when I set up one of the computers on the internal network, I set the
gateway as 192.168.205.27, which is the internal address of the masq
server. Is there any other settings that I need to set that are not
covered in the howto?
> See ya
> Dean Thompson
> --
> +____________________________+____________________________________________+
> | Bach. Computing (Hons) | ICQ - 45191180 |
> | PhD Student | Office - <Off-Campus> |
> | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
> | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
> | Melbourne, Australia | |
> +----------------------------+--------------------------------------------+