[H-GEN] router woes (no longer redhat specific)
Scott Pullen
spullen at optusnet.com.au
Wed Jul 17 08:30:31 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
Matt,
Which box is 192.168.1.254. You are telling the client box that this is
the machine it has to talk to, to access the net but from your info I
can see no box on your network with this address. Try making your
default route point to the address of your adsl connected interface,
then it can get out.
That is only half the problem because if you haven't got the router set
up to masquerade the packets from your private network then you will
never get a reply from the box that you send the initial packets to.
I assume that you have ipchains/iptables set up on the router?!? You
need to tell the router to masquerade the packets with something like:
ipchains -A forward -s 192.168.1.0/24 -d !192.168.1.254 -j MASQ
Sorry but I still use ipchains but the command should be almost
identical in iptables (at least I think it is :~)3 )
Hope this helps,
Cheers,
Scott.
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list