Webmin / Usermin and port blocking
Mike Burger
mburger at bubbanfriends.org
Wed Mar 2 01:47:00 UTC 2005
On Mon, 28 Feb 2005, Bob Brennan wrote:
> On Mon, 28 Feb 2005 16:42:32 -0600, aaron hirsch <aaronh at uptime.net> wrote:
> > Setup port forwarding via iptables, or you could utilize something like
> > dnydns's webhop service
>
> Iptable forwarding (sorry, new at this) - I would need to set up a url
> like http://myserver.net/usermin to forward to myserver.net:20000 ?
> How would I do that?
Nope...that's apache redirect.
Iptables port forwarding would look like this (apologies for the line
breaks that ensue):
$IPTABLES -t nat -A PREROUTING -i eth0 -d xxx.xxx.xxx.xxx -p tcp --dport 80 -j DNAT --to xxx.xxx.xxx.xxx:20000
$IPTABLES -A FORWARD -p tcp --dport 20000 -m state --state NEW -d xxx.xxx.xxx.xxx -j ACCEPT
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the fedora-list
mailing list