LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2003, 05:39 AM   #1
mafa
LQ Newbie
 
Registered: Jan 2003
Posts: 6

Rep: Reputation: 0
Question VPN forward


Hi All!

I'm new with linux, and there is a problem I cannot solve...

So there is a VPN server, and I can connect to it from a machine, which have "direct internet access" (no subnet). I want to reach it from another machine too, which is on a subnet (with linux gw).
(My client is Windows XP)

So this is the chain:

VPN Client --> Linux GW --> Internet --> VPN Server

If I try to connect using VPN, then I can see a message, that "Verifying username...", and after this an error message appears ("721 - The remote computer did not respond"). The VPN Server's log shows, that there was a connection request...
So I think, the Linux GW is misconfigured...

I use Redhat 7.2 on this GW, with iptables:

iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT


Have you got any ideas, what can be the problem?
Thanks in advance!
MaFa
 
Old 11-21-2003, 02:09 AM   #2
netguy2000
Member
 
Registered: Oct 2003
Location: Karachi, PAKISTAN
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
Posts: 115

Rep: Reputation: 15
i have same scenario in my lab, with just little change that my WIN 2000 VPN server is behind Linux 8 fire wall and user access from internet i use iptables but its still not working what i have to do now plz help me as i am using these commands. In iptables FORWARD rules i this therer is any mistake by me plz let me know how can i see my FORWARD or etc rules after setting them.
If u have any answer then plz inform me. thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 09:42 PM
I want .forward to not forward attachments nigelj12 Linux - Software 1 09-30-2004 04:13 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 09:00 AM
MASQ VPN to VPN Router hakcenter Linux - Networking 0 06-26-2003 05:14 PM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration