/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ I have asked the list before about this routing problem but apparently didn't give enough info for you folks to understand the situation. So here goes again. (Sorry it's so wordy.) I have a box (kernel 2.2.14) setup to provide a single line ppp dial-up to make connection to our campus network. (So I can connect to the campus net from home without going thru an ISP) It worked very well until I installed IP Masq. With IP Masq it routes to/from everything on the internet OK but does not route to the campus subnet that the linux box is on. (I can no longer ping the subnet the box is on but I can still ping everything else.) I assume there must be a very simple answer as to why this happens. The box has two NIC's and a modem: eth0 interfaces to the campus net with a static IP (134.139.180.73) eth1 interfaces to a local private net (192.168.0.x) The modem accepts incoming ppp. --------- | | | | <--> [dial-up ppp line] [campus network] <--> linux box | | | | <--> [private network] --------- With IP Masq all the machines on the private net (192.168.0.x) can see everything on the campus net and beyond, no problem. Here is what I have in my rc.firewall: #!/bin/sh # /sbin/depmod -a /sbin/modprobe ip_masq_ftp /sbin/modprobe ip_masq_raudio /sbin/ipchains -M -S 7200 10 160 /sbin/ipchains -P forward DENY /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ # My routing table looks like this: Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.10 * 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth1 134.139.180.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 134.139.180.1 0.0.0.0 UG 1 0 0 eth0 My options.ttyS1 file has: 192.168.0.1:192.168.0.10 And ifconfig gives: eth0 Link encap:Ethernet HWaddr 00:A0:24:3B:95:30 inet addr:134.139.180.73 Bcast:134.139.180.255 Mask:255.255.255.0 eth1 Link encap:Ethernet HWaddr 00:00:C0:77:B0:48 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.0.1 P-t-P:192.168.0.10 Mask:255.255.255.255 Any help most appreciated. Thanks -- Bob Soukup WWWeb http://www.csulb.edu/~rsoukup _______________________________________________ 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.
