From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arnold Rebullida" Subject: port forwarding for PPTP Server Date: Sun, 18 May 2003 01:35:16 +1000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <000801c31c89$ebc465c0$0500a8c0@station> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C31CDD.BC11F730" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C31CDD.BC11F730 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable HI, I have trying to setup MS PPTP server (192.168.10.11) behind a linux = firewall. I used the following scripts eth0 is connected to the internet, eth1 is connected to PPTP server. echo 1 > /proc/sys/net/ipv4/ip_forward Iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to = 192.168.10.11 iptables -t nat -A PREROUTING -i eth0 -p 47 -j DNAT --to 192.168.10.11 it doesn't seem to work. is there anything I missed? My kernel is = 2.4.18-14. please help thanks arnold ------=_NextPart_000_0005_01C31CDD.BC11F730 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
HI,
 
I have trying to setup MS PPTP server=20 (192.168.10.11)  behind a linux firewall. I used the following=20 scripts
eth0 is connected to the internet, eth1 = is=20 connected to PPTP server.
 
 
echo 1 >=20 /proc/sys/net/ipv4/ip_forward
Iptables -t nat -A PREROUTING -i eth0 = -p tcp=20 --dport 1723 -j DNAT --to 192.168.10.11
iptables -t nat -A PREROUTING -i eth0 = -p 47 -j DNAT=20 --to 192.168.10.11
 
it doesn't seem to work. is there = anything I=20 missed? My kernel is 2.4.18-14.
 
please help
 
thanks
 
arnold
------=_NextPart_000_0005_01C31CDD.BC11F730--