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
|