Masquerade Help Requested
Ok, with all you folks' help i have my mini-LAN established. Special
thanks to those that told me about the correct cables to use and pointed
me to the correct drivers for my network cards.
I was fooling around with iptables and got the masquerade thing to work,
albeit with a slow dial-up line as a connection to the internet.
Then i wanted to tear down the firewall rules and make sure i knew what
i was doing, right? Well iptables -F didn't stop the server from
forwarding traffic, and neither did anything else i tried, so i rebooted
both the laptops and the masq server.
Now I can't get masquerading to work again. For brevity's sake I'll
paste what I've got.
(Makua is the masq server and firecloud is the laptop)
makua:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:50:BA:C1:45:D1
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:851 errors:0 dropped:0 overruns:0 frame:0
TX packets:1129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:87072 (85.0 KiB) TX bytes:101653 (99.2 KiB)
Interrupt:11 Base address:0x6c00
makua:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
all -- 10.0.0.0/10 anywhere
all -- firecloud anywhere
Chain OUTPUT (policy ACCEPT)
makua:~# cat /proc/sys/net/ipv4/ip_forward
1
firecloud:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:A4:E8:13:8F
inet addr:10.0.0.3 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1260 errors:0 dropped:0 overruns:0 frame:0
TX packets:972 errors:12 dropped:0 overruns:0 carrier:12
collisions:0 txqueuelen:100
RX bytes:114494 (111.8 KiB) TX bytes:99166 (96.8 KiB)
Interrupt:11 Base address:0x4000
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:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1971 (1.9 KiB) TX bytes:1971 (1.9 KiB)
firecloud:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default makua 0.0.0.0 UG 0 0 0 eth0
firecloud:~# ping makua
PING makua (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=0.3 ms
4 packets transmitted, 4 packets received, 0% packet loss
firecloud:~# ping debian.org
unknown host "debian.org"
firecloud:~#
....................................................................
--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: