From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Buddy wu" Subject: how to connect to VPN server using IPTABLES nat Date: Thu, 2 Mar 2006 18:46:04 +0800 Message-ID: <43a0cdcb0603020246n4da19616p@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org I DON'T mean there is a VPN serving making from linux. The fact is that: I set up a VPN server using windows server(IP:192.168.1.1) and it is behind a Linux server which is using iptables for nat iptables -A PREROUTING -d 218.0.0.0 -j DNAT --to 192.168.1.1 but I can't establish the VPN connection from out(etc IP address is 218.10.0.1, I have tested that I can connect to other service such as web(port 80). How can I establish the VPN connection ? Is there need some setting in IPTABLES?