Mailinglist Archive: opensuse-security (359 mails)

< Previous Next >
SuSEfirewall2 config problem
  • From: "Kostyal Daniel" <danikostyal@xxxxxxx>
  • Date: Tue, 15 Jul 2003 17:44:07 +0300
  • Message-id: <005301c34adf$8b9d2540$0c00a8c0@xxxxxxxx>
Hi.
I am new with SuSEfirewall2 & iptables, and I have the following problem. I have 2 compures with SuSE 8.0. Both are running Samba and between them is a freeswan tunnel. At one end I have three LAN cards: eth0: 192.168.0.100 (local network) ; eth1: 85.136.12.19 (internet) ; eth2: 192.168.3.1 (this connects to another Linux box which is used as an Internert gateway (85.136.12.19 is used only for VPN) ). The default route is set to 192.168.3.2, to route all traffic to the internet gateway. How do I configure SuSEfirewall2?
With the settings:
FW_DEV_INT="eth0 eth2"
FW_DEV_EXT="eth1 ipsec0"
FW_ROUTE=yes
FW_MASQARADE=yes
FW_MASQ_NETS="192.168.0.0/24"
FW_PROTECT_FROM_INTERNAL=no
FW_AUTOPROTECT_SERVICES=no
FW_SERVICES_EXT_TCP="22"
FW_SERVICES_EXT_UDP="500"
FW_SERVICES_EXT_IP="50 51"
FW_SERVICES_INT_TCP="22 139"
FW_SERVICES_INT_UDP="500"
FW_SERVICES_INT_IP="50 51"
FW_TRUSTED_NETS="192.168.0.0/24 192.168.1.0/24 85.136.12.141" # 85.136.12.141 is the other end of the tunnel
SAMBA=yes
FW_FORWARD="192.168.0.0/24,192.168.1.10/24 192.168.1.0/24,192.168.0.0/24"

i cannot connect via ssh from the internal network and all my attempts to view the samba shares on the other end are rejected. HELP ME PLEASE


< Previous Next >
This Thread
  • No further messages