Support Requests item #523277, was opened at 2002-02-26 22:08 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=213751&aid=523277&group_id=13751
Category: Release/Branch: Dachstein Group: None Status: Closed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Mike Noyes (mhnoyes) Summary: IP Port Forwarding on Dachstein Initial Comment: I'm running the Dachstein LRP on a pentium 133 box with 3com and Network Anywhere network cards, and am connected to the internet via DSL. The router works great, but I am now trying to forward port 80 for www over to a Mandrake 8.1 box running Apache (don't be fooled, I'm a Linux newbie). I've determined so far that the ipmasqadm portfw command has to be used instead of the old ipportfw. I'm relatively certain that I've got the usage of that correct, and it seems to think that it is forwarding the appropriate ports and IPs (and I've tried every possible iteration of the command and IPs). I've also done some minor things like move the weblet to port 8000 so it isn't in the way. I've been at this on and off for a few weeks so I can't recall every last thing I've done, but I've looked through the documentation I could find and still don't have it working. Basically when you try to connect to the website from outside it acts like it is opening the page then suddenly jumps to a page not found message, which indicates it is not actually forwarding the port. I'm still not sure exactly how/where to include the port forwarding in the modules so that it does that on startup. If anybody has some advice or some documentation that I haven't found I would really appreciate it! ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-18 22:06 Message: Logged In: NO your statement that you get a page not found message suggests to me that the portforwarding is working and the server doesn't like the URL it is being asked to respond to. You can confirm that the portforwarding is working by starting from your external (dialup?) ip and telnetting into port 80 and entering something like "GET / HTTP1.0" followed by pressing enter twice. A "normal" browser would include a header line after the GET that told the server what host it thought it was talking to, which could bother Apache if Apache is not configured right. See your Apache documentation for further information. Good luck! ---------------------------------------------------------------------- Comment By: Lynn Avants (guitarlynn) Date: 2002-03-18 17:16 Message: Logged In: YES user_id=176069 The preferred (less-confusing) way of the actual port forward with Dachstein would be this line: INTERN_SERVERS="tcp_${EXTERN_IP}_80_192.168.1.1_80" You will also need to open the port in the firewall with the line: EXTERN_TCP_PORTS="0/0_www 0/0_80" The module you will need to load is "ip_masq_portfw". You may need to download this module from Charles' site in the "dachstein-small/modules" branch (in the /modules/ip_masq directory if you are using the floppy version. You simply copy this module to a floppy, then copy it from the floppy to the /lib/modules directory of the Dachstein machine (make sure the name is correct after copying it). You will need to save the "etc" and "modules" packages then reboot the firewall to have all changes take effect. I hope this helps, ~Guitarlynn Lynn Avants ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-18 12:12 Message: Logged In: NO I put my Ipmasq portfw rules in the port forwarding section of the network.conf right under the INTERN_XXX_SERVERS section.... and remember to open the www tcp port just above in the EXTERN_TCP_PORTS="0/0_www" variable..... I hope this is right... Newbie also.. if not, hopefully someone will let us both know... Gary ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=213751&aid=523277&group_id=13751 _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user