LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VPN forward (https://www.linuxquestions.org/questions/linux-newbie-8/vpn-forward-94089/)

mafa 09-18-2003 04:39 AM

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

netguy2000 11-21-2003 01:09 AM

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:( :scratch: :Pengy:


All times are GMT -5. The time now is 12:09 AM.