All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Fwd: Re: FreeS/WAN + static NAT + 2 machines
@ 2002-09-24 15:28 Walther
  2002-09-24 15:48 ` Antony Stone
  2002-09-24 20:17 ` Anders Fugmann
  0 siblings, 2 replies; 5+ messages in thread
From: Walther @ 2002-09-24 15:28 UTC (permalink / raw)
  To: Antony Stone; +Cc: netfilter

hey Antony,

i got this setup work. 

these are the changes i made to my setup:

iptables -t nat -A POSTROUTING -o $EXT -s 172.16.2.121 -j SNAT --to 
<external_freeswan_ip>
iptables -t nat -A PREROUTING -i $EXT -d <external_freeswan_ip> -j DNAT 
--to 172.16.2.121
iptables -A FORWARD -p 50 -s 172.16.2.121 -j ACCEPT
iptables -A FORWARD -p 50 -d 172.16.2.121 -j ACCEPT
iptables -A FORWARD -p 51 -s 172.16.2.121 -j ACCEPT
iptables -A FORWARD -p 51 -d 172.16.2.121 -j ACCEPT
iptables -A FORWARD -s 172.16.2.121 -p udp --sport 500 -j ACCEPT
iptables -A FORWARD -d 172.16.2.121 -p udp --dport 500 -j ACCEPT

this works fine for me. i can browse the internal http, ping all 
workstations and server and check mails with Lotus Notes.

but i cannot mount any Windows or SAMBA share. do you know something about 
this???

Best Regards,
MfG.

Stefan Walther
stefan_walther@gehag-dsk.de
dienst.: +4930/89786448
Funk: +49172/3943961
http://www.gehag-dsk.de

-------------------------------------------------------------- 
Linux/UNIX is like an Indian Tipi:
No Windows, no Gates and Apache inside.

Outgoing Mail is certified mistake-free. 
Examined by DOGMATIC infallibility system. 
Version 6.04




Antony Stone <Antony@Soft-Solutions.co.uk>
Sent by: netfilter-admin@lists.netfilter.org
23.09.2002 18:04

 
        To:     netfilter <netfilter@lists.netfilter.org>
        cc: 
        Subject:        Fwd: Re: FreeS/WAN + static NAT + 2 machines


----------  Forwarded Message  ----------

Subject: Re: FreeS/WAN + static NAT + 2 machines
Date: Mon, 23 Sep 2002 16:57:41 +0100
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: nefilter@lists.netfilter.org

On Monday 23 September 2002 4:51 pm, Walther@gehag-dsk.de wrote:
> > I'm intrigued to know what quantity of data you're trying to shovel
> > through FreeS/WAN that you find the performance of the machine a
> > limitation.   Please tell me your link bandwidth and a rough spec of 
the
> > machine/s you're using.
>
> I have a 2MBit with about 15 official IP's.

What type / speed CPU on the FreeS/WAN box ?
How much memory ?
What load average does it generate ?

I'm surprised you are experiencing performance problems with less than
2Mbits/sec through FreeS/WAN.

> i will install the testmachine on wednesday in the DMZ, and will try 
again
> with the modes. i rechecked my rules and in my test-environment it works
> now (with NAT).

What did you change ?

> i will tell you on wednesday if it works or not, coz there is no way to
> test it before this date.

Okay.

Antony.

--

Having been asked to provide a reference for this man,
I can confidently state that you will be very lucky indeed
if you can get him to work for you.

-------------------------------------------------------






^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Fwd: Re: FreeS/WAN + static NAT + 2 machines
@ 2002-09-25  5:37 Walther
  0 siblings, 0 replies; 5+ messages in thread
From: Walther @ 2002-09-25  5:37 UTC (permalink / raw)
  To: Antony Stone; +Cc: netfilter

hi Antony,

i hate w******. i found out, that you can mount network-drives if there is 
the option in the network-environment enabled for "sharing files and 
printers". without this option there is at everytim the "systemerror 51". 
if you enable this option everything works fine and very fast. I like 
FreeS/WAN and I like netfilter.

THX for all your help.

Best Regards,
MfG.

Stefan Walther
stefan_walther@gehag-dsk.de
dienst.: +4930/89786448
Funk: +49172/3943961
http://www.gehag-dsk.de

-------------------------------------------------------------- 
Linux/UNIX is like an Indian Tipi:
No Windows, no Gates and Apache inside.

Outgoing Mail is certified mistake-free. 
Examined by DOGMATIC infallibility system. 
Version 6.04




Antony Stone <Antony@Soft-Solutions.co.uk>
24.09.2002 18:57

 
        To:     Walther@gehag-dsk.de
        cc: 
        Subject:        Re: Fwd: Re: FreeS/WAN + static NAT + 2 machines


On Tuesday 24 September 2002 5:40 pm, Walther@gehag-dsk.de wrote:

> that's the problem. I tried via the ip-adresses but there was at 
evertime
> this errorcode:
>
> <--snip-->
>
> c:\net use z: \\10.16.100.62\install
> systemerror 51
>
> the remotecomputer is not available
>
> <--snip-->

Okay, in that case try putting this into your c:\windows\lmhosts file:

<quote>
10.16.100.62             servername
</quote>

That's just a single line (if the file already exists, simply add it at 
the 
end) containing the IP address, a tab (I think spaces are okay too) and 
the 
name you want to call your server - doesn't have to match the hostname if 
you 
don't want it to.

You should then be able to say:

c:\net use z: \\servername\install
The command was completed successfully.

It works for me using Windows 95/98 clients and Samba servers across a 
FreeS/WAN IPsec VPN link.


Antony.

-- 

90% of network problems are routing problems.
9 of the remaining 10% are routing problems in the other direction.
The remaining 1% might be something else, but check the routing anyway.





^ permalink raw reply	[flat|nested] 5+ messages in thread
* Fwd: Re: FreeS/WAN + static NAT + 2 machines
@ 2002-09-23 16:04 Antony Stone
  0 siblings, 0 replies; 5+ messages in thread
From: Antony Stone @ 2002-09-23 16:04 UTC (permalink / raw)
  To: netfilter

----------  Forwarded Message  ----------

Subject: Re: FreeS/WAN + static NAT + 2 machines
Date: Mon, 23 Sep 2002 16:57:41 +0100
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: nefilter@lists.netfilter.org

On Monday 23 September 2002 4:51 pm, Walther@gehag-dsk.de wrote:
> > I'm intrigued to know what quantity of data you're trying to shovel
> > through FreeS/WAN that you find the performance of the machine a
> > limitation.   Please tell me your link bandwidth and a rough spec of the
> > machine/s you're using.
>
> I have a 2MBit with about 15 official IP's.

What type / speed CPU on the FreeS/WAN box ?
How much memory ?
What load average does it generate ?

I'm surprised you are experiencing performance problems with less than
2Mbits/sec through FreeS/WAN.

> i will install the testmachine on wednesday in the DMZ, and will try again
> with the modes. i rechecked my rules and in my test-environment it works
> now (with NAT).

What did you change ?

> i will tell you on wednesday if it works or not, coz there is no way to
> test it before this date.

Okay.

Antony.

--

Having been asked to provide a reference for this man,
I can confidently state that you will be very lucky indeed
if you can get him to work for you.

-------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-25  5:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-24 15:28 Fwd: Re: FreeS/WAN + static NAT + 2 machines Walther
2002-09-24 15:48 ` Antony Stone
2002-09-24 20:17 ` Anders Fugmann
  -- strict thread matches above, loose matches on Subject: below --
2002-09-25  5:37 Walther
2002-09-23 16:04 Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.