Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Phil Hyde on July 22, 2002, 08:20:46 AM
-
I have my apache server listening on port 8018 because Roadrunner blocks port 80. As a result, I have to type www.mydomain.com:8018 locally (or 192.168.x.x:8018) to see my site.
Is there any way to forward or re-direct local ports (perhaps on client PC's?) so that I don't need the :8018? Perhaps what I want to do is re-direct port 80 on my server?
thanks!
--phil
-
/sbin/ipmasqadm portfw -a -P tcp -L 80 -R 8018
I'm pretty sure that should do it, if not I've got a separate binary that will support and handle TCP redirection.
Hope this helped,
Nathan
-
Oops, ipmasqadm is in /usr/sbin, not /bin.
/usr/sbin/ipmasqadm portfw
-
This is what get. Any ideas?
[root@webserver root]# /usr/sbin/ipmasqadm portfw -a -P tcp -L 80 -R
8018
portfw: illegal local address/port specified
-
You must specify a Local and Remote IP in addition to the port numbers.
Good luck,
Nathan