From: Jukka Laaksola (jukka.laaksola_at_netland.fi)
Date: Thu 11 Jul 2002 - 11:40:43 BST
Herbert Poetzl wrote:
>> > On Thu, Jul 11, 2002 at 10:37:01AM +0300, Jukka Laaksola wrote:
>> >>I'm not sure if this is a real loopback problem or what.
>> >>Portmap only in vservers works fine for me. But I need to run portmap
>> >>also in the main server for NFS-server. This is need special tricking.
>> >>If I start portmap normally in the main server then portmap in a vserver
>> >> can't bind the udp address. Now I use in main server "chbind --ip
>> >>127.0.0.1 /etc/init.d/portmap start". Then I need to use rinetd for
>> >>forwarding nfs-servers IP's (192.168.0.3) tcp port 111 to localhost port
>> >>111. I haven't found a solution for forwarding udp port also.
> hmm maybe you could use ip(chains,tables) port forwarding
> to direct the requests to one of the virtual servers ...
> (it's just an idea, I do not know if this works ...)
I had the same idea before rinetd... I tried with iptables forward those
portmap ports(111/tcp/udp) from NFS IP to localhost, but it doesn't
work. No idea why...
Actually I don't want port forwarding to virtual servers... I have one
IP on main server for NFS-server. NFS-server is in the main server, not
in any of virtual hosts, because we need rquotad and kernel side
-- Jukka Laaksola Netland Oy