Networking Forums

Networking Forums > Computer Networking > Linux Networking > VPN/PPTP/ip/mail problem

Reply
Thread Tools Display Modes

VPN/PPTP/ip/mail problem

 
 
Martin Oude Veldhuis
Guest
Posts: n/a

 
      07-29-2004, 06:32 AM
Hi,

I have the following simplified networkconfiguration:

+-----------------------+
| home-user |
| windows (2000/xp) |
| ip=dy.na.mi.c |
+-----------------------+
|
|
|
internetcloud
|
|
|
+-----------------------+
| ip eth1=a.b.c.d |
| company gateway |
+-----------------------+
| |
|ip ppp0=10.0.0.11 |ip eth0=10.0.0.1
| |
------------------------------------------ local network
|
|
|
+-----------------------+
| ip=10.0.0.2 |
| mail/file server |
+-----------------------+

In the local network there is a mail/fileserver (sendmail, samba) with ip
10.0.0.2.
Also there is a gateway with local ip 10.0.0.1 and on the internetside
ip a.b.c.d
A home user connects through pptp/vpn with a.b.c.d. to the gateway,
and connects to the local network thru the interface ppp0 and gets
ip 10.0.0.11 (the second user 10.0.0.12 and so on)
On the home pc I see with ipconfig the ip address 10.0.0.11 and I can
ping from the fileserver to 10.0.0.11. The user can use the files on
the fileserver with samba.
So far so good.

If U ping from the home pc to the filserver, I can see that it is not
10.0.0.11 who is pingingm but 10.0.0.1 ! And when I check
"smbstatus -uhomeuser" then I see that the user is connected by 10.0.0.1.
Still not a problem the filesharing part works fine.

The problem arises when I try to use mail. I use sendmail (don't even
start...). Every ip-address in our local company network can use sendmail
as smtp server ... except 10.0.0.1 because otherwise I have an open relay.
I filled the sednmail file "relay-domains" with all local ip addresses except
10.0.0.1, so 10.0.0.2 t/m 10.0.0.254.

If the home user wants to mail, sendmail thinks the user is on ip 10.0.0.1 and
refuses the mail because of the relay-domains file. So the use cannot mail!

How can I solve this? I have a simple iptables configuration on the gateway.
Do I have to NAT or something? The are at the most 10 vpn/pptp users with
ip addresses 10.0.0.11 t/m 10.0.0.20.

regards Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAS PPTP problem with WS2003 with 2 NICs alexander.lange@tbns.nl Windows Networking 0 02-23-2006 09:10 AM
PPTP problem with Netgear DG834G Stoneskin Network Routers 0 07-05-2005 01:59 PM
PPTP VPN Problem NR Linux Networking 3 01-19-2005 03:03 PM
pptp error 721 GRE problem scott Windows Networking 0 02-12-2004 02:34 PM
Linksys BEFW11S4 v.3 and PPTP outgoing mail problem =?ISO-8859-1?Q?Bj=F8rn_G?= Wireless Internet 1 09-09-2003 11:22 AM



1 2 3 4 5 6 7 8 9 10 11