LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2003, 09:14 PM   #1
Bungholio
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa
Distribution: Mandrake 9.1
Posts: 23

Rep: Reputation: 15
webmin/shorewall


Hi, thanks for looking (i did search).

Ive got webmin setup on my linuxbox which is a firewall/webserver, and i have one win2kpro computer networked via dhcp.

I can access webmin from the linuxbox, https://192.168.0.1:10000 no problems ... however when i try to access from my windows computer, or for anyone else to try, it doesnt work ... (my linuxbox is mandrake9.1 w/ shorewall)

this is what ive tried so far:

in miniserv.conf ive tried adding both

allow=192.168.1.1 (the ip for eth1 in my linuxbox thats connected to the winbox)

and

allow=192.168.1.253 (the ip the winbox has taken)

neither worked

so i tried removing the allow lines, and theoretically if i had no firewall, anyone should be able to access webmin.

however i do have shorewall, so i tried adding a rule for port 10000 in /etc/shorewall/rules

ACCEPT loc fw tcp 10000 - -
ACCEPT loc fw udp 10000 - -

from what i understand, those two rules will allow any connection on my local network (loc) to access tcp/udp transfers on port 10000, however after restarting shorewall, it still did not work

im not sure what to do .. if you need more info, ill be happy to post, thanks for any tips or advice,
Al
 
Old 08-04-2003, 05:44 PM   #2
Bungholio
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa
Distribution: Mandrake 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
ok, ive also tried these rules too

ACCEPT loc:192.168.1.253,192.168.1.1 fw tcp 10000 -
ACCEPT loc:192.168.1.253,192.168.1.1 fw udp 10000 -

and also tried adding this to my /etc/shorewall/policy

ACCEPT loc fw

no luck yet ... i can access http://192.168.0.1 from the winbox, but not https://192.168.0.1:10000

please help
 
Old 09-02-2003, 09:44 AM   #3
echidna
LQ Newbie
 
Registered: Sep 2003
Location: bush
Distribution: mdk 9.1 + rh 6 - 9
Posts: 13

Rep: Reputation: 0
I was suffering the same problem (mdk9.1 + win98).
Adding this rule worked for me;

# Allow Webmin access from local net
#
ACCEPT loc fw tcp 10000
#


where loc is the local zone and fw is the inbuilt firewall zone.
Do you need the Ip address specifications here?
also don't forget to restart shorewall ie. /sbin/shorewall restart so that it sees the new rules.
good luck
 
Old 09-16-2003, 12:50 AM   #4
hobylinux
Member
 
Registered: Jul 2003
Location: Ohio, USA
Distribution: Mandrake 9.2
Posts: 145

Rep: Reputation: 15
hey, guys. mind if i jump in here and ask how you defined your local zone? i've had trouble defining it. i'm running shorewall on two clients behind a linksys firewall/router, with the ips 192.168.1.100 and 192.168.1.101, respectively. both computers have only one interface. i tried adding "loc eth0:192.168.1.0/24" to my /etc/shorewall/hosts file, and then adding "loc fw ACCEPT" to my /etc/shorewall/policy file, but i still can't connect my two machines together. any suggestions?

sorry to jump into your thread like this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
Configuring shorewall with webmin runelolk Linux - Networking 2 11-30-2004 10:40 PM
Trying to make webmin + shorewall do Traffic Shaping PunkPT Slackware 0 09-27-2004 03:26 PM
shorewall dropping/rejecting wanted connections (squid/webmin) win32sux Linux - Networking 2 08-01-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration