Networking Forums

Networking Forums > Computer Networking > Linux Networking > VPN Masquerading problem

Reply
Thread Tools Display Modes

VPN Masquerading problem

 
 
bolero92@yahoo.com
Guest
Posts: n/a

 
      12-29-2004, 03:06 PM
Here is the setup:

Win2K PPTP Client------RH 8.0--------INTERNET------RH 8.0 PPTP Server

Cuz my RedHat 8.0 uses 2.4 kernel and only one PPTP client in the
network
As stated in
http://www.impsec.org/linux/masquerade/ip_masq_vpn.html

I don't need to patch the kernel.
I just need to add the normal masquerading rules.

/sbin/modprobe iptable_nat
/usr/local/sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

However, Win2K PPTP Client can't establish VPN connection successfully.
The negotiation stops just after the authentication.
Below is the error message in RH 8.0 PPTP Server:

GRE: read(fd=6,buffer=8055600,len=8260) from network failed: status =
-1 error = Protocol not available
CTRL: GRE-tunnel has collapsed (GRE read or PTY write failed
(gre,pty)=(6,5))
CTRL: Client 219.133.238.250 control connection finished

But if Win2K PPTP Client connects to Internet directly (not thru
firewall),
the VPN connection can be established!! (using the same setting)
Why???

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 9.3 Professional, problem with masquerading Aco Linux Networking 1 05-18-2005 04:18 AM
masquerading problem HugoCaracol Linux Networking 1 04-06-2005 02:02 PM
Help with firewall/masquerading problem Alex Meov Linux Networking 5 06-05-2004 08:08 PM
iptables masquerading problem Richard Wilhelm Linux Networking 1 12-23-2003 03:08 PM
Mail server masquerading problem Joshua Valkenier Linux Networking 0 07-29-2003 09:57 AM



1 2 3 4 5 6 7 8 9 10 11