Re: AIX and IP forwarding/masquerading

From: Michael Cheselka (cheselka@LINUX.CACTUS.ORG)
Date: Thu Jan 29 2004 - 07:41:15 EST


Anyone using socks or squid for this? Where do I get the packages for
these?

Also, I am having a problem getting port forwarding to work with ssh
from the Linux box into the AIX box( which is connected to the
Internet via ppp).

 linux # ssh -L 1080:192.168.0.11:80 192.168.0.11

I start up mozilla with the proxy setting of 127.0.0.1 port 1080.
Here's the error when I try to load a webpage:

 channel 2: open failed: administratively prohibited: open failed

This is on the stderr on the Linux side. There is nothing in the
logs on the AIX side. I'm almost sure it's a setting on the Linux
machine. There no /etc/hosts.deny or /etc/ssh/known_hosts on
either machine. This is from ICMP.

Thanks!
> -----Original Message-----
> From: Michael Cheselka [mailto:cheselka@LINUX.CACTUS.ORG]
> Sent: Thursday, January 22, 2004 2:15 PM
> To: aix-l@Princeton.EDU
> Subject: AIX and IP forwarding/masquerading
>
>
> I have an AIX 5.1 43p using ppp to dialup over a regular phone line.
> I also have a Linux laptop connected to the AIX box via Ethernet. The
> AIX box is 192.168.0.11 and the Linux laptop is 192.168.0.13. What do
> I do as well as:
>
> AIX: /usr/sbin/no -o ipforwarding=1
>
> Linux: route add default gw 192.168.0.11
>
> This isn't enough since it's not working. Ideally, I want to use
> mozilla on the Linux laptop without modification - DNS working and no
> proxy set. I also have ssh on Linux and sshd on AIX so I may have to
> settle for ssh port forwarding. Anyone using a similar arrangement?
> What about IP masquerading? Any way to pass the DNS queries upstream
> without running a caching DNS server and having the Linux box point at
> the AIX box in resolv.conf?

--
Michael R. M. Cheselka                       ryoohki@ryoohki.org
Itsu Made Mo "Love & Peace"                  cheselka@cactus.org
http://www.cactus.org/~cheselka 4085052365@mobile.mycingular.com


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:32 EDT