Mailinglist Archive: opensuse-security (394 mails)

< Previous Next >
RE: [suse-security] Hints for Frees/WAN on SuSEFirewall2-protected systems?
  • From: Administrator <admin@xxxxxxxxxxxxxx>
  • Date: Wed, 10 Dec 2003 15:39:09 -0800
  • Message-id: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAACwMjaagd1hG6pwAGW0qIxsKAAAAQAAAAtq5Bb88I1k6eg+Nfel3bQwEAAAAA@xxxxxxxxxxxxxx>

Ok I snipped the following lines from my firewall script. Note that
$INGLEWOOD is the address of the remote server.

## the lines below allow incoming traffic from trusted sources. (ie
## $INGLEWOOD, or which is the remote subnet)

## this basically allows outgoing traffic to the trusted remote. I
always ## log outgoing traffic that has not been explicitly allowed
this way I can ## catch services or apps trying to connect to somewhere
they shouldn't be

## this part is very important. If your firewall is masquerading traffic
you ## have to tell it not to masquerade traffic outgoing to yrou VPN
$IPTABLES -t nat -A POSTROUTING -o $EXTIF ! -d -j SNAT --to

If I'm not mistaken SuSEFirewall initializes in three parts the second
portian having the actual script. You can add these lines directly or
define them by variables that can be changed elsewhere. Me personally I
always advocate creating yrou own firewall script this way you can
control and understand exactly what it does. Hope this helped

> -----Original Message-----
> From: Mathias Homann [mailto:admin@xxxxxxxxxx]
> Sent: Wednesday, December 10, 2003 3:12 PM
> To: Administrator
> Subject: Re: [suse-security] Hints for Frees/WAN on SuSEFirewall2-
> protected systems?
> Am Mittwoch, 10. Dezember 2003 23:59 schrieben Sie:
> > Hoping I can help I only saw this thread just now. I have two SuSE
> > systems running both FreeSwan and a firewall. I don’t use the
> > SuSEFirewall however they are all based on IPTables. If you don’t
> > re-posing your initial question I can try my best to help.
> Hi,
> i got two suse 8.0 systems. Frees/WAN up and running, as far as i can
> in /var/log/messages i see something that looks like a sucessful
> handshake,
> and after that the systems have the proper routing tables.
> Now, how do i tweak SuSEfirewall2 to make the tunnel actually work?
> Subnet behind box1:
> Subnet behind box2:
> Connectivity in both cases: eth0 points to internal net, ipsec0 (via
> which is DSL over eth1) is the tunnel.
> What do i put where in /etc/sysconfig/SuSEfirewall to make the tunnel
> work?
> bye,
>         MH
> --
> Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt
> gegen §1
> UWG und 823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O
> Jede
> kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren
> Weitergabe an Dritte ist ausdrücklich untersagt!
> gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD

< Previous Next >
This Thread
  • No further messages