Re: vpn pass through
From: Andrew (dunggaze_at_yahoo.com)
Date: 01/14/04
- Next message: P Gentry: "Re: GRUB won't boot"
- Previous message: Andrew: "Re: vpn pass through"
- In reply to: Bryan Martin: "Re: vpn pass through"
- Next in thread: Bryan Martin: "Re: vpn pass through"
- Reply: Bryan Martin: "Re: vpn pass through"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 14 Jan 2004 00:17:10 GMT
That article seems to describe only lower versions of Linux, and RH9.0
supports iptables, where I couldn't find any examples. I am using PPTP
connection, can you show me any examples to do iptables? I don't know how to
do 47 GRE, (My VPN server in MS is 192.168.10.2, not the Linux box) like:
#!/bin/sh
MYIP=`ifconfig eth0 |grep inet |cut -d: -f2 |cut -d" " -f1`
iptables -A PREROUTING -t nat -p tcp -d $MYIP --dport 1723 -j DNAT --to
192.168.10.2:1723
iptables -A PREROUTING -t nat -p udp -d $MYIP --dport 500 -j DNAT --to
192.168.10.2:500
iptables -A PREROUTING -t nat -p udp -d $MYIP --dport 1701 -j DNAT --to
192.168.10.2:1701
-- Thanks Andrew "Bryan Martin" <spam@ahwayside.com> wrote in message news:eXXMb.246576$dl.12451840@twister.southeast.rr.com... > No i mean you need to forward IP protocol GRE. Read the article in whole. > They walk you through, show you examples etc.... You will forward port > 1723 and GRE protocol to your m$ box. > > Ports and protocols in play: > > Protocol 47 ie. GRE > TCP 1723 -> PPTP > UDP 500 -> ISAKMP > UDP 1701 -> L2TP > > Bryan > > "Andrew" <dunggaze@yahoo.com> wrote in message > news:XPVMb.133740$AAe1.38444@news01.bloor.is.net.cable.rogers.com... > > Do you mean I also need to forward udp 500? Because I am using iptables > > instead of ipportfw or ipfwadm, I don't know how to do that. > > Thanks > > -- > > Andrew > > > > > > "Bryan Martin" <spam@ahwayside.com> wrote in message > > news:OrVMb.246459$dl.12436038@twister.southeast.rr.com... > > > The reason you are getting this is that the connection is going in under > > > PPTP. This utilizes ports 1723 as well as the GRE protocol. You will > > need > > > to forward this protocol as well. > > > > > > Check out: > > > http://www.linux.org/docs/ldp/howto/VPN-Masquerade-HOWTO.html > > > > > > Bryan Martin > > > > > > > > > > > > "Andrew" <dunggaze@yahoo.com> wrote in message > > > news:4jKMb.124600$AAe1.48460@news01.bloor.is.net.cable.rogers.com... > > > > Hi, experts, > > > > > > > > My RH9.0 Linux box works as gateway, router, and DHCP for the LAN. I > > have > > > > RAS (Windows NT server) under this Linux box, and forward the port > 1723 > > of > > > > the Linux to NT server. When I try to dial in through VPN from > outside > > of > > > > the LAN, conncection keeps verifying the user and password, then > > prompted > > > > 'Disconnected. The remote computer did not respond...' after a while. > Of > > > > course, the RAS works fine without the Linux box. Is there any clue to > > > > figure out the problem? Thanks for any idea. > > > > > > > > -- > > > > Andrew > > > > > > > > > > > > > > > > > > > > > > > >
- Next message: P Gentry: "Re: GRUB won't boot"
- Previous message: Andrew: "Re: vpn pass through"
- In reply to: Bryan Martin: "Re: vpn pass through"
- Next in thread: Bryan Martin: "Re: vpn pass through"
- Reply: Bryan Martin: "Re: vpn pass through"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|