Re: Webmin / Usermin and port blocking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 28 Feb 2005, Bob Brennan wrote:

> On Mon, 28 Feb 2005 16:42:32 -0600, aaron hirsch <aaronh@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux