[TriLUG] Dorm Networking

Jeremy Portzer jeremyp at pobox.com
Mon Jun 30 11:48:52 EDT 2003


On Mon, 2003-06-30 at 11:53, Jeff Tickle wrote:

> (My computer, running Linux, connected to the internet over ppp0 is at
> 192.168.0.10.  His computer, running WinXP and soon Linux, is at
> 192.168.0.11.)
> 
> # iptables -t nat -A POSTROUTING -s 192.168.0.11 -j MASQUERADE
> # iptables -A FORWARD -s 192.168.0.11 -j ACCEPT
> # iptables -A FORWARD -d 192.168.0.11 -j ACCEPT
> # echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> Note...  I really don't know much about iptables, but I use this basic
> snippet to forward my iPAQ's packets, and figured it would work with our
> situation here.
> 
> The problem, however, is that he still can't ping outside the network. 
> Tried IP addresses so it's not just a problem with name resolution or
> anything.  Any ideas?
> 

Did you set your computer, 192.168.0.10, to be the default gateway on
the Windows machine?

Try running traceroute (I think it's tracert on Windows) to see where
the packets are going (or aren't going).

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030630/c3324ab0/attachment.pgp>


More information about the TriLUG mailing list