From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ca9e19ad6457645c X-Google-Attributes: gidfee84,public From: Jesper Frank Nemholt Subject: Re: Problem using Tru64 system as gateway Date: 1999/11/28 Message-ID: <3840FB3D.B466530E@dassic.com>#1/1 X-Deja-AN: 554043648 Content-Transfer-Encoding: 7bit References: <38407c84.3667723@news.highway1.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: Department of Abuse X-Trace: news.inet.tele.dk 943795103 25400 195.249.165.44 (28 Nov 1999 13:18:23 GMT) Organization: Dassic Mime-Version: 1.0 NNTP-Posting-Date: 28 Nov 1999 13:18:23 GMT Newsgroups: comp.unix.osf.osf1 Ray Gibson wrote: > > Hello All, I am looking for some help. I am trying to use Tru64 as a > ppp gateway. I have tru64 with PPP installed and > connected to an ISP via modem. I also have a local LAN connected to > the Tru64 system. I can connect to an ISP via PPP > perfectly, but when I try to access the ISP from another PC on the > LAN, I cannot get through the gateway. I have set the > defaultroute route option in PPP and the routing tables all look like > they should work. I have the set the IP address of the > TRu64 system as the default route on the PC. The IP packets seem to > leave the PC and get to the Tru64 system, but do not > actually go out the PPP port. From the PC I can ping the local PPP > address on the Tru64 system, but I cannot ping the remote > PPP address on the tru64 system. > Any suggestions ? Your routing appears to be OK, so I guess the problem is related to the fact that you're not running any form of NAT or IP masquerading (or proxy). When you connect to the internet from the unix box, the internet will see it as a valid address, ie. with the address the PPP interface got from the ISP. When you connect to the internet from the pc, it'll connect with its own IP which is probably one in the private area. Because of that it'll not work. If you use NAT or IP masquerading, the unix box will masquerade the pc IP address to be the same as the PPP address and this way let the traffic flow. I don't quite remember what available software there are for making NAT/IP-masq on Digital Unix, but I guess there are some. Next possible solution is to use a proxy like Squid. This way the pc will never reach the internet, but deliver its request to the proxy and let the proxy fetch the data on the internet and deliver it back to the pc. This solution is not as flexible as NAT/IP-Masq, but if you're only going to use WWW, FTP and stuff like that from the pc, it's good enough. l8r/Jspr