>ppp0 Link encap:Point-to-Point Protocol
> inet addr:XXX.X.XXX.XX P-t-P:XXX.X.XXX.X Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:576 Metric:1
> RX packets:2660 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3162 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
Yup.. as I suspected. You have to change your PPP link's MTU to 1500
for IP MASQ to run bug free. Do do this, add the following lines
in your /etc/ppp/options file:
mtu 1500
mru 1500.
>Here's netstat -rn
>
>Kernel IP routing table
>Destination Gateway Genmask Flags MSS Window irtt Iface
>XXX.X.XXX.X 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>0.0.0.0 XXX.X.XXX.X 0.0.0.0 UG 0 0 0 ppp0
I would also recommend to set your TCP window to 8192. This si described
in the Network tuning section of TrinityOS:
http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html
>I'm also having trouble getting the forwarding to work every time I dial
>in. Sometimes I have to play with it for 45 minutes and somehow get it
>working, though I'm still not sure what I finally do to get it working. I'm
>learning a lot about the structure of Linux networking, though!
Are you running a strong IPFWADM/IPCHAINS ruleset? If so, you need to
rerun it each time you dialup since your IP address changes. This is
covered in the comments section of my strong firewall ruleset in
TrinityOS.
--David
.----------------------------------------------------------------------------.
| David A. Ranch - Linux/Networking/PC hardware [EMAIL PROTECTED] |
!---- ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]