Troy Aden wrote:
> I currently have a server running behind my Bering box. The rules that I
> have set up in shorewall rules are as follows:
> 
> #Access to my web server
> 
> DNAT     net         loc:192.168.1.2        80
> 
> #Access to my webmin server
> 
> DNAT     net         loc:192.168.1.2:25000        https
> 
> The problem seems to be with my webmin rule. I can access the server fine
> remotely with https://x.y.z.x. But when I try and login the page proceeds to
> sit until it times out. The weird thing that happens is that if I hit the
> <back> button on my browser, my webmin is there and I can work with it.. I
> am suspecting that I have entered the webmin rule incorrectly. Can anyone
> help me out?  
> 

I assume that the two rules are:

DNAT    net     loc:192.168.1.2         tcp     80
DNAT    net     loc:192.168.1.2:25000   tcp     https

and that you have configured webmin to listen on port 25000 (as opposed to 
the default 10000).

If that is the case then the second rule should work fine -- I just 
verified it with a similar rule on my setup:

DNAT    net     loc:192.168.1.5:10000   tcp     8081 - 206.124.147.176

I specified an original IP address because I have several on my firewall 
external interface.

 From the net, I connected to http://206.124.146.176:8081 and was able to 
log into webmin normally.

-Tom
-- 
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to