Koozali.org: home of the SME Server

IP Forwarding

Evadream

IP Forwarding
« on: July 11, 2001, 03:26:30 AM »
Hi all,

i'm a newbie under linux :). The actual situation of my little network is :

A gateway under linux ( esmith 4.1.1 )
3 clients under 98&2k

The SF server is a w98 machine ( fix IP : 192.168.1.50 ) People from the outside can play on this server w/o any problem. I've added this two lines in rc.sysinit :

ipmasqadm portfw -a -P udp -L my_ip 7777 -R 192.168.1.50 7777
ipmasqadm portfw -a -P udp -L my_ip 7778 -R 192.168.1.50 7778

It works fine.

Now i want that some people from the outside can access to the admin page of the server. I configure it on the 8000 port and i can access to it localy : http//192.168.1.50:8000. I've got no problem.

I have put this in my rc.sysinit file :

ipmasqadm portfw -a -P tcp -L my_ip 8000 -R 192.168.1.50 8000

But it doesn't work although it is well loaded ( sorry for the english :p ). I can see it by taping ipmasqadm portfw -l > it works fine for people inside the network ( by taping 192.168.1.50:8000 ) but it does'nt work for outside people.

I've tried the Charlie Brady contributed  rpm that allows easy port forwarding
http://netsourced.com/servers/docs/ipportfw-howto.html.

but when i tape db configuration .... i've got a command not found although db is in the .sbin.e-smith directory
I've downloaded the rpm inside this directory et install it with rpm -Uvh . Any idea ?
THX.