Click to See Complete Forum and Search --> : VPN masquerading problem


jahall
12-19-2000, 11:41 AM
I have been trying to connect to our VPN at work through my home network which uses masquerading to share our Internet connection. I am not able to connect to the VPN when I go through our home network, but when I dial our ISP directly from the computer I want to connect with I have no problems connecting to the VPN.

Is there a module that I need to load to make the masquerading work right with the VPN, or is there another setting withing PPP that I should check.

Thanks in advance for your assistance.

Jay

Fandelem
12-19-2000, 05:23 PM
you might want to check to see if your VPN is using PPTP (point-to-point tunneling protocol). you might run into troubles (PPTP works by dialing into the ISP using PPTP protocol and gaining access to the desired VPN). do some research on www.dogpile.com (http://www.dogpile.com) to see if there is something like this for linux (i know windows includes it as default)

hope this helps {i don't know anything more past the definition :}

regards,

~kyle

[This message has been edited by Fandelem (edited 19 December 2000).]

jahall
12-19-2000, 05:38 PM
Thanks for your help. I finally found some information on our vendor's web site. They are recommending using ipmasqadm to ensure certain ports are forwarded correctly.

I am using RedHat 6.2 and cannot find ipmasqadm on any of my CDs. Is this something that should be downloaded, or can I accomplish the same thing using IP chains?

Thanks,

Jay

Fandelem
12-19-2000, 05:43 PM
http://www.fandelem.com/nhf-5.html#portfw

should be what you're lookin' for.

jahall
12-19-2000, 05:47 PM
Thanks for your help. I'll try it tonight.

Jay

jahall
12-21-2000, 10:15 PM
OK. I have added the ipmasqadm lines per our vendor's instructions and I am still having problems connecting to the VPN.

In reading the man page that came with ipmasqadm, it is my understanding that ipmasqadm rules are run after other masquerading rules. Is this the case?

I am running RedHat 6.2 using PPP to share a single Internet connection between three computers. My masquerading rule follows

/sbin/ipchains -A forward -j MASQ -s 10.129.10.0/24 -d 0.0.0.0/0

The ipmasqadm rules that I am using are

ipmasqadm portfw -a -P udp -R 10.129.10.80 47 -L XXX.XXX.XXX.XXX 47

ipmasqadm portfw -a -P tcp -R 10.129.10.80 1723 -L XXX.XXX.XXX.XXX 1723

Any suggestions on how to make this work using or writing other rules using ipchains would be greatly appreciated.

Thanks in advance for your assistance.

Jay