Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-12-2002, 02:55 PM
|
#1
|
LQ Newbie
Registered: Feb 2002
Location: Ohio
Distribution: Red Hat
Posts: 3
Rep:
|
Vpn
I sort of new to linux and learning as I go. I run a Red Hat 7.1 Linux server at work running poptop (vpn server) on a dsl line. My problem is connecting from my home. Using me cable modem, if connected directly through my workstation and using dhcp I can connect to the vpn. If I run through my home server running Red Hat 7.0 and assigned ip, I cannot connect. I get the following error message in /var/log/messages on the work server (Red Hat 7.1): Feb 12 00:46:02 mail pptpd[22614]: GRE: read(fd=6,buffer=bfffd8ec,len=8260) from network failed: status = -1 error = Protocol not available. I can ssh fine from the workstation to the workserver and can connect if I hook directly to the cable modem and use dhcp. What do I need to change and where to I need to change it???? Work server..?? Home server..?? BOTH servers run nat using ipchains..i.e. ipchains -A forward -s 0.0.0.0/0 -d 0.0.0.0/0 -j MASQ.
|
|
|
02-13-2002, 10:34 AM
|
#2
|
Member
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91
Rep:
|
Just a thought... I'm assuming here that when it doesn't work you're attempting to use masquerading -- connecting "through" your home server. In other words, when your workstation is directly connected to your cable modem it works but when your workstation is connected to your home server which is then connected to the cable modem it breaks.
I don't think IP masquering can masquerade PPTP packets w/o a kernel patch.
|
|
|
02-13-2002, 05:28 PM
|
#3
|
LQ Newbie
Registered: Feb 2002
Location: Ohio
Distribution: Red Hat
Posts: 3
Original Poster
Rep:
|
Quote:
Originally posted by Jon-
Just a thought... I'm assuming here that when it doesn't work you're attempting to use masquerading -- connecting "through" your home server. In other words, when your workstation is directly connected to your cable modem it works but when your workstation is connected to your home server which is then connected to the cable modem it breaks.
I don't think IP masquering can masquerade PPTP packets w/o a kernel patch.
|
Yes, connecting directly to cable modem with the workstation works. If I connect the cable modem to my home server, I can browse the Internet, so I am getting out, but am unable to connect to the vpn... I can connect to that server via ssh..
What kernel patch do I need..? or do you or anyone else have thoughts on solving this situation..One person I talked to says that this is just a routing issue and can be solved that way, but didn't give me much clue on how to do it...
|
|
|
02-14-2002, 10:44 AM
|
#4
|
Member
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91
Rep:
|
"Getting out" and using SSH are both examples of using the TCP portion of TCP/IP protocol. AFAIK, IP masquerading on a Linux box would be better named TCP/IP masquerading, because it only masquerades TCP, UDP, and ICMP packets. I don't think PPTP uses those protocols -- I have a list at work, can't remember which ones it does use. Protocol # 50 and 51 I think (TCP is #6 I think).
Anyway, try this
http://freshmeat.net/projects/linuxv...rade/homepage/
I haven't tried this, but it looks like it will do what you want.
Oh, you'll just need this on your home server. You don't need this on your work server.
|
|
|
All times are GMT -5. The time now is 12:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|