OVH Cloud OVH Cloud

Can't configure Samba (3.0.10) Shorewall (2.0.8)

3 réponses
Avatar
tf85
Hello,
I use MDK 10.1, Samba (3.0.10) and shorewall (2.0.8)
where I modify /etc/shorewall/rules with
ACCEPT fw masq udp 1024: 137
ACCEPT masq fw udp 22,137:139,445
ACCEPT masq fw tcp 22,137:139,445
ACCEPT masq fw udp 1024: 137
I obtain this error : Undefined server zone in rule : ACCEPT fw masq udp
1024: 137

Or under MDK 9.2, I hanven't any problems !
Thanks

3 réponses

Avatar
nicolas
Le Wed, 09 Mar 2005 09:17:47 +0100, tf85 nous exposa quelques reflexions
personnelles :

Hello,
I use MDK 10.1, Samba (3.0.10) and shorewall (2.0.8)
where I modify /etc/shorewall/rules with
ACCEPT fw masq udp 1024: 137
ACCEPT masq fw udp 22,137:139,445
ACCEPT masq fw tcp 22,137:139,445
ACCEPT masq fw udp 1024: 137
I obtain this error : Undefined server zone in rule : ACCEPT fw masq udp
1024: 137

Or under MDK 9.2, I hanven't any problems !
Thanks



How is your masq zone defined ?

Please post content of /etc/shorewall/zones and /etc/shorewall/interfaces
Avatar
tf85
/etc/shorewall/zones :
net Net Internet zone

/etc/shorewall/interfaces :
net eth0 detect

I think that is OK ?

"nicolas" a écrit dans le message de news:

Le Wed, 09 Mar 2005 09:17:47 +0100, tf85 nous exposa quelques reflexions
personnelles :

Hello,
I use MDK 10.1, Samba (3.0.10) and shorewall (2.0.8)
where I modify /etc/shorewall/rules with
ACCEPT fw masq udp 1024: 137
ACCEPT masq fw udp 22,137:139,445
ACCEPT masq fw tcp 22,137:139,445
ACCEPT masq fw udp 1024: 137
I obtain this error : Undefined server zone in rule : ACCEPT fw masq
udp
1024: 137

Or under MDK 9.2, I hanven't any problems !
Thanks



How is your masq zone defined ?

Please post content of /etc/shorewall/zones and /etc/shorewall/interfaces



Avatar
nicolas
Le Sat, 12 Mar 2005 21:19:46 +0100, tf85 nous exposa quelques reflexions
personnelles :

/etc/shorewall/zones :
net Net Internet zone

/etc/shorewall/interfaces :
net eth0 detect

I think that is OK ?



But you don't have any masq zone defined, and your rules are using
a masq zone, that's why you get the error message.

Maybe this masq zone was defined under your 9.2 installation. As I don't
know exactly how your network is setup (router, modem, lan ?), I believe
this masq zone has been created after you activated the "internet
connection sharing" in the mcc.


"nicolas" a écrit dans le message de news:

Le Wed, 09 Mar 2005 09:17:47 +0100, tf85 nous exposa quelques reflexions
personnelles :

Hello,
I use MDK 10.1, Samba (3.0.10) and shorewall (2.0.8)
where I modify /etc/shorewall/rules with
ACCEPT fw masq udp 1024: 137
ACCEPT masq fw udp 22,137:139,445
ACCEPT masq fw tcp 22,137:139,445
ACCEPT masq fw udp 1024: 137
I obtain this error : Undefined server zone in rule : ACCEPT fw masq
udp
1024: 137

Or under MDK 9.2, I hanven't any problems !
Thanks



How is your masq zone defined ?

Please post content of /etc/shorewall/zones and /etc/shorewall/interfaces