On Sun, 2004-02-29 at 13:19, Derek Jennings wrote:
> The Mandrake Firewall GUI is pretty simple and often screws up configuration.
> 
> A common mistake the GUI makes is to get the interface connected to the 
> internet wrong. It will assume eth0 is connected to the net.
> 
> Take a look at the file /etc/shorewall/interfaces
> 
> At the bottom you will see something like :-
> 
> net   eth0    detect
> loc   eth1    detect  (it may be called masq instead of loc)
> 
> If you connect via DSL (ppp over atm), or dial up, then replace eth0 with ppp0
> 
> If you are not doing internet connection sharing then you do not need the 
> second line.
> 
> Then restart shorewall with
> 'shorewall restart' in a root terminal
> 
> HTH
> 
> derek

Thanks, Dennis and Derek !
I've got an ADSL connection. I did it and apparently everything is OK.
Thank you very much !

[EMAIL PROTECTED] shorewall]# shorewall restart
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Shorewall Not Currently Running
Starting Shorewall...
Loading Modules...
Initializing...
Shorewall has detected the following iptables/netfilter capabilities:
   NAT: Available
   Packet Mangling: Available
   Multi-port Match: Available
   Connection Tracking Match: Available
Determining Zones...
   Zones: net
Validating interfaces file...
Validating hosts file...
Validating Policy file...
Determining Hosts in Zones...
   Net Zone: ppp0:0.0.0.0/0
Processing /etc/shorewall/init ...
Deleting user chains...
Setting up Accounting...
Setting up User Sets...
Creating Interface Chains...
Configuring Proxy ARP
Setting up NAT...
Adding Common Rules
IP Forwarding Enabled
Processing /etc/shorewall/tunnels...
Processing /etc/shorewall/rules...
   Rule "ACCEPT net fw udp 53,631 -" added.
   Rule "ACCEPT net fw tcp 80,443,53,22,20,21,25,109,110,143,631 -"
added.
Processing /etc/shorewall/policy...
   Policy ACCEPT for fw to net using chain fw2net
   Policy DROP for net to fw using chain net2all
Masqueraded Subnets and Hosts:
Processing /etc/shorewall/tos...
   Rule "all all tcp - ssh 16" added.
   Rule "all all tcp ssh - 16" added.
   Rule "all all tcp - ftp 16" added.
   Rule "all all tcp ftp - 16" added.
   Rule "all all tcp ftp-data - 8" added.
   Rule "all all tcp - ftp-data 8" added.
Processing /etc/shorewall/ecn...
Activating Rules...
Processing /etc/shorewall/start ...
Shorewall Started

-- 
josenildo marques 
icq #289971493 
homepage http://cyb.ezdir.net
registered linux user #341648
*********
Quem olha para fora sonha; quem olha para dentro acorda. C. G. Jung


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to