Networking Forums

Networking Forums > Computer Networking > Linux Networking > WINDOWS 2003 VPN SERVER BEHIND LINUX GATEWAY

Reply
Thread Tools Display Modes

WINDOWS 2003 VPN SERVER BEHIND LINUX GATEWAY

 
 
Nicolas
Guest
Posts: n/a

 
      11-15-2006, 10:42 AM
-I have installed a windows 2003 server on my private lan (VPN with
PPTP)
-I have installed a Debian Linux gateway to NAT my private network on
Internet
-I use iptable on my Linux gateway to foward port 1723 and protocol 47
on my VPN SERVER
------------------------------------------------------------------------
This is a part of my configuration of iptables :
INET_IP = my internet address of my gateway

$IPTABLES -A PREROUTING -t nat -p gre -d $INET_IP -j DNAT
--to-destination $VPNSERVER
$IPTABLES -A PREROUTING -t nat -p tcp --dport 1723 -d $INET_IP -j DNAT
--to-destination $VPNSERVER

#NAT
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source
$INET_IP
echo "1"> /proc/sys/net/ipv4/ip_forward
-----------------------------------------------------------------------------

-I can connect on my VPN server with only one client at a time.
But I would like connect several client at a time !

Could you help me please.

Thanks

 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      11-15-2006, 11:04 AM
Hello,

Please don't yell (type in caps).

Nicolas a écrit :
> -I have installed a windows 2003 server on my private lan (VPN with
> PPTP)
> -I have installed a Debian Linux gateway to NAT my private network on
> Internet
> -I use iptable on my Linux gateway to foward port 1723 and protocol 47
> on my VPN SERVER

[...]
> -I can connect on my VPN server with only one client at a time.


What happens *exactly* when you try to connect from a second client ?
Do you have error messages, logs, network traces ?

> But I would like connect several client at a time !


Several clients with different public IP addresses or several clients
behind the same NAT device sharing the same public IP address ?
 
Reply With Quote
 
Nicolas
Guest
Posts: n/a

 
      11-15-2006, 11:19 AM

Pascal Hambourg a écrit :

> Hello,
>
> Please don't yell (type in caps).


Hello,

Ok excuse me... I 'am sorry

>
> Nicolas a écrit :
> > -I have installed a windows 2003 server on my private lan (VPN with
> > PPTP)
> > -I have installed a Debian Linux gateway to NAT my private network on
> > Internet
> > -I use iptable on my Linux gateway to foward port 1723 and protocol 47
> > on my VPN SERVER

> [...]
> > -I can connect on my VPN server with only one client at a time.

>
> What happens *exactly* when you try to connect from a second client ?
> Do you have error messages, logs, network traces ?


It impossible to join the vpn server windows client vpn error 678 "The
server don't answer"
excuse me for the translation because my error is in french so ...

>
> > But I would like connect several client at a time !

>
> Several clients with different public IP addresses or several clients
> behind the same NAT device sharing the same public IP address ?


In a first time client with different public IP addresses .
But I would like to device sharing the same public address can connect
too.

Thanks a lot to your help.

Best regards

 
Reply With Quote
 
Nicolas
Guest
Posts: n/a

 
      11-15-2006, 01:08 PM
I make new test and now I can connect with 2 clients on my VPN server
but client with different public IP.

But for client behind a NAT Gateway I have no solution ....

Thanks

Nicolas a écrit :

> Pascal Hambourg a écrit :
>
> > Hello,
> >
> > Please don't yell (type in caps).

>
> Hello,
>
> Ok excuse me... I 'am sorry
>
> >
> > Nicolas a écrit :
> > > -I have installed a windows 2003 server on my private lan (VPN with
> > > PPTP)
> > > -I have installed a Debian Linux gateway to NAT my private network on
> > > Internet
> > > -I use iptable on my Linux gateway to foward port 1723 and protocol 47
> > > on my VPN SERVER

> > [...]
> > > -I can connect on my VPN server with only one client at a time.

> >
> > What happens *exactly* when you try to connect from a second client ?
> > Do you have error messages, logs, network traces ?

>
> It impossible to join the vpn server windows client vpn error 678 "The
> server don't answer"
> excuse me for the translation because my error is in french so ...
>
> >
> > > But I would like connect several client at a time !

> >
> > Several clients with different public IP addresses or several clients
> > behind the same NAT device sharing the same public IP address ?

>
> In a first time client with different public IP addresses .
> But I would like to device sharing the same public address can connect
> too.
>
> Thanks a lot to your help.
>
> Best regards


 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      11-15-2006, 02:44 PM
Nicolas a écrit :
> I make new test and now I can connect with 2 clients on my VPN server
> but client with different public IP.


Good. This /should/ work without special handling.

> But for client behind a NAT Gateway I have no solution ....


This requires special handling by the NAT box at the client side. If it
runs GNU/Linux, the PPTP conntrack & NAT helper modules
ip_conntrack_pptp and ip_nat_pptp should be what you're looking for.
They are included in the mainstream kernel since version 2.6.14 ; watch
in the Netfilter patch-o-matic-ng for older kernel versions.
 
Reply With Quote
 
Nicolas
Guest
Posts: n/a

 
      11-15-2006, 03:44 PM
Thanks a lot for your help and your excellent advice.

Pascal Hambourg a écrit :

> Nicolas a écrit :
> > I make new test and now I can connect with 2 clients on my VPN server
> > but client with different public IP.

>
> Good. This /should/ work without special handling.
>
> > But for client behind a NAT Gateway I have no solution ....

>
> This requires special handling by the NAT box at the client side. If it
> runs GNU/Linux, the PPTP conntrack & NAT helper modules
> ip_conntrack_pptp and ip_nat_pptp should be what you're looking for.
> They are included in the mainstream kernel since version 2.6.14 ; watch
> in the Netfilter patch-o-matic-ng for older kernel versions.


 
Reply With Quote
 
Dan N
Guest
Posts: n/a

 
      11-15-2006, 11:40 PM
On Wed, 15 Nov 2006 13:04:05 +0100, Pascal Hambourg wrote:

> Please don't yell (type in caps).


Type however you feel. Your style is your own, don't let others dictate
theirs to you.

Dan
 
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
Windows Server 2003 as gateway Peter CCH Windows Networking 0 03-24-2006 08:24 AM
windows server 2003 gateway and dhcp server on the same computer boiseneon Windows Networking 3 02-22-2006 05:48 AM
Windows 2003 server loses 'default gateway' Blake Windows Networking 20 06-05-2005 11:36 PM
2 Gateway's on 1 NIC on Windows Server 2003 Jwolfer Windows Networking 18 05-10-2005 07:56 PM
Windows XP VPN server behind Linux gateway Markus Linux Networking 1 01-21-2005 03:18 PM



1 2 3 4 5 6 7 8 9 10 11