I'm trying to get ipmasq working and I'm not doing something right. My win 95 machine ip is 192.168.207.111 the masq is 255.255.255.0 the linux machine is 192.168.207.110
My provider has dynamic ip address so it will change every time I log in. here is some output files ifconfig: eth0 Link encap:Ethernet HWaddr 00:20:78:13:9A:71 inet addr:192.168.207.110 Bcast:192.168.207.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:5 Base address:0x6700 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:209.100.171.123 P-t-P:209.100.171.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:22 errors:1 dropped:0 overruns:0 frame:1 TX packets:23 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 ipmasq -d Interfaces found: ppp0 209.100.171.123/255.255.255.255 eth0 192.168.207.110/255.255.255.0 /sbin/ipchains -P input DENY /sbin/ipchains -P output DENY /sbin/ipchains -P forward DENY /sbin/ipchains -F input /sbin/ipchains -F output /sbin/ipchains -F forward /sbin/ipchains -A input -j ACCEPT -i lo /sbin/ipchains -A input -j ACCEPT -i eth0 -s 192.168.207.110/255.255.255.0 /sbin/ipchains -A input -j ACCEPT -i ppp0 -d 209.100.171.123/32 /sbin/ipchains -A input -j DENY -i ppp0 -s 192.168.207.110/255.255.255.0 -l /sbin/ipchains -A forward -j MASQ -i ppp0 -s 192.168.207.110/255.255.255.0 /sbin/ipchains -A output -j ACCEPT -i lo /sbin/ipchains -A output -j ACCEPT -i eth0 -d 192.168.207.110/255.255.255.0 /sbin/ipchains -A output -j ACCEPT -i eth0 -d 224.0.0.0/240.0.0.0 -p ! tcp /sbin/ipchains -A output -j ACCEPT -i ppp0 -s 209.100.171.123/255.255.255.255 /sbin/ipchains -A output -j DENY -i ppp0 -d 192.168.207.110/255.255.255.0 -l echo "1" > /proc/sys/net/ipv4/ip_forward route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 209.100.171.2 * 255.255.255.255 UH 0 0 0 ppp0 localnet * 255.255.255.0 U 0 0 0 eth0 default 209.100.171.2 0.0.0.0 UG 0 0 0 ppp0 I've read the man pages on route, ipmasq and ipchains. I just am stuck here, I need to get the 224.0.0.0 and 240.0.0.0 to something that will work like the win 95 machines ip. thx for any help.