Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Michael Gale <michael.gale@pason.com>
To: Neil Aggarwal <neil@JAMMConsulting.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: NAT rules for VPN only allowing one user?
Date: Wed, 30 May 2007 08:37:07 -0600	[thread overview]
Message-ID: <465D8C13.6010904@pason.com> (raw)
In-Reply-To: <000001c7a279$c93477f0$dededede@neilhp>

Hey,

This sounds like a problem on the VPN gateway device, you should remove the rule:

"/sbin/iptables -t nat -A POSTROUTING -o eth1
	-d $LINKSYS_VPN_IP -p tcp --dport 1723
	-j SNAT --to-source $ETH1_IP"

And resolve that issue, what is most likely currently happening. Your VPN router is only setup for or only supports 1 VPN connection per IP address. So a second connection 
would over write the first one.

Michael

Neil Aggarwal wrote:
> Jan:
> 
> Actually, I need the SNAT rule to make my remote
> users look like they are coming from the local network.
> 
> For some reason, the Linksys does not respond to the
> connection unless I have that.
> 
> Thanks,
> 	Neil
> 
> --
> Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
> FREE! Eliminate junk email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
> 
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Jan Engelhardt
> Sent: Tuesday, May 29, 2007 1:13 PM
> To: Neil Aggarwal
> Cc: netfilter@lists.netfilter.org
> Subject: Re: NAT rules for VPN only allowing one user?
> 
> On May 29 2007 12:31, Neil Aggarwal wrote:
> 
>> /sbin/iptables -t nat -A POSTROUTING -o eth1 
>> 	-d $LINKSYS_VPN_IP -p tcp --dport 1723 
>> 	-j SNAT --to-source $ETH1_IP
> 
> This is redundant.
> 
>> Either one of my remote users can connect to the VPN using
>> the Windows XP VPN client.  But, if one of them is connected
>> and the other tries to connect, the second person gets to
>> the verifying username and password screen and then
>> gets an Error 619 that they are not able to connect.
>>
>> I think somehow the existing connection is mis-routing
>> the login for the second connection.
>>
>> Any ideas what could be going on?
> 
> Use the holy tcpdump.
> 
> 
> 	Jan

-- 
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.


  reply	other threads:[~2007-05-30 14:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 17:31 NAT rules for VPN only allowing one user? Neil Aggarwal
2007-05-29 18:12 ` Jan Engelhardt
2007-05-30  5:17   ` Neil Aggarwal
2007-05-30 14:37     ` Michael Gale [this message]
2007-05-30 15:16       ` Martin McKeay
2007-05-30 15:28         ` Neil Aggarwal
2007-05-30 21:06 ` Martijn Lievaart
2007-05-31  0:24   ` Gregory Carter
2007-05-31  1:07     ` Neil Aggarwal
     [not found] <000001c7a2ce$6d4a5860$dededede@neilhp>
2007-05-30 16:12 ` Martin McKeay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=465D8C13.6010904@pason.com \
    --to=michael.gale@pason.com \
    --cc=neil@JAMMConsulting.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox