[opensuse-security] SuSE 11.2 SuSEfirewall2 Problems.... need help.
I have what I think is a pretty simple set up but for some reason I just cannot get it to work properly. _____ eth1-----{uplink1} __|___ | F/W | {masq intranet}-eth0---|_____| |____eth2-----{uplink2) whenever I try to connect to services on eth1 or two from the intranet my connection times out I checked var logs and found the following. #tail -f /var/log/messages Dec 2 10:45:37 linux-fw kernel: [65074.814640] martian source 68.***.192.234 from 192.168.1.14, on dev eth0 Dec 2 10:45:37 linux-fw kernel: [65074.814663] ll header: 00:c0:9f:19:da:3f:00:b0:d0:24:b5:8d:08:00 I've also copied my SuSEfirewall2 config. any help woudl really be appreciated FW_DEV_EXT="eth2" FW_DEV_INT="eth0" FW_DEV_DMZ="eth1" FW_ROUTE="yes" FW_MASQUERADE="yes" FW_MASQ_DEV="zone:ext" FW_MASQ_NETS="0/0" FW_NOMASQ_NETS="" FW_PROTECT_FROM_INT="yes" FW_SERVICES_EXT_TCP="" FW_SERVICES_EXT_UDP="" FW_SERVICES_EXT_IP="" FW_SERVICES_EXT_RPC="" FW_CONFIGURATIONS_EXT="apache2 apache2-ssl ejabberd sshd" FW_SERVICES_DMZ_TCP="" FW_SERVICES_DMZ_UDP="" FW_SERVICES_DMZ_IP="" FW_SERVICES_DMZ_RPC="" FW_CONFIGURATIONS_DMZ="apache2 ejabberd sshd" FW_SERVICES_INT_TCP="" FW_SERVICES_INT_UDP="" FW_SERVICES_INT_IP="" FW_SERVICES_INT_RPC="" FW_CONFIGURATIONS_INT="apache2 apache2-ssl ejabberd sshd" FW_SERVICES_DROP_EXT="" FW_SERVICES_DROP_DMZ="" FW_SERVICES_DROP_INT="" FW_SERVICES_REJECT_EXT="" FW_SERVICES_REJECT_DMZ="" FW_SERVICES_REJECT_INT="" FW_SERVICES_ACCEPT_EXT="" FW_SERVICES_ACCEPT_DMZ="" FW_SERVICES_ACCEPT_INT="" FW_SERVICES_ACCEPT_RELATED_EXT="" FW_SERVICES_ACCEPT_RELATED_DMZ="" FW_SERVICES_ACCEPT_RELATED_INT="" FW_TRUSTED_NETS="192.168.1.0/24,tcp,22" FW_ALLOW_INCOMING_HIGHPORTS_TCP="" FW_ALLOW_INCOMING_HIGHPORTS_UDP="" FW_FORWARD="192.168.1.0/24,68.164.192.234,tcp,ssh" FW_FORWARD_REJECT="" FW_FORWARD_DROP="" FW_FORWARD_MASQ="" FW_REDIRECT="" FW_LOG_DROP_CRIT="yes" FW_LOG_DROP_ALL="no" FW_LOG_ACCEPT_CRIT="yes" FW_LOG_ACCEPT_ALL="no" FW_LOG_LIMIT="" FW_LOG="" FW_KERNEL_SECURITY="yes" FW_STOP_KEEP_ROUTING_STATE="no" FW_ALLOW_PING_FW="yes" FW_ALLOW_PING_DMZ="no" FW_ALLOW_PING_EXT="no" FW_ALLOW_FW_SOURCEQUENCH="" FW_ALLOW_FW_BROADCAST_EXT="" FW_ALLOW_FW_BROADCAST_INT="" FW_ALLOW_FW_BROADCAST_DMZ="" FW_IGNORE_FW_BROADCAST_EXT="yes" FW_IGNORE_FW_BROADCAST_INT="no" FW_IGNORE_FW_BROADCAST_DMZ="no" FW_ALLOW_CLASS_ROUTING="int" FW_CUSTOMRULES="" FW_REJECT="" FW_REJECT_INT="yes" FW_HTB_TUNE_DEV="" FW_IPv6="" FW_IPSEC_TRUST="no" FW_ZONES="" FW_ZONE_DEFAULT="" FW_USE_IPTABLES_BATCH="" FW_LOAD_MODULES="nf_conntrack_netbios_ns" FW_FORWARD_ALWAYS_INOUT_DEV="" FW_FORWARD_ALLOW_BRIDGING="" FW_WRITE_STATUS="" FW_RUNTIME_OVERRIDE="" FW_LO_NOTRACK="" -- The general who advances without coveting fame and retreats without fearing disgrace, whose only thought is to protect his country and do good service for his sovereign, is the jewel of the kingdom. - Sun Tzu -- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
Rowan R. wrote:
I have what I think is a pretty simple set up but for some reason I just cannot get it to work properly.
_____ eth1-----{uplink1} __|___ | F/W | {masq intranet}-eth0---|_____| |____eth2-----{uplink2)
whenever I try to connect to services on eth1 or two from the intranet my connection times out I checked var logs and found the following.
#tail -f /var/log/messages Dec 2 10:45:37 linux-fw kernel: [65074.814640] martian source 68.***.192.234 from 192.168.1.14, on dev eth0 Dec 2 10:45:37 linux-fw kernel: [65074.814663] ll header: 00:c0:9f:19:da:3f:00:b0:d0:24:b5:8d:08:00
I've also copied my SuSEfirewall2 config. any help woudl really be appreciated
FW_DEV_EXT="eth2" FW_DEV_INT="eth0" FW_DEV_DMZ="eth1" FW_ROUTE="yes" FW_MASQUERADE="yes" FW_MASQ_DEV="zone:ext"
eth1 is not masqueraded this way. You need to add zone:dmz as well if you want traffic from eth0 to eth1 masqueraded.
FW_MASQ_NETS="0/0"
You may want to restrict that to the network of eth0. Otherwise traffic betwen eth1 and eth2 would be allowed and masqueraded.
FW_FORWARD="192.168.1.0/24,68.164.192.234,tcp,ssh"
Forwarding between private and public IP addresses? You probably want FW_FORWARD_MASQ instead. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
participants (2)
-
Ludwig Nussel
-
Rowan R.