All of lore.kernel.org
 help / color / mirror / Atom feed
* pptp + iptables
@ 2002-09-13 14:35 Alexey Sheshka
  2002-09-13 17:00 ` pptp + iptables MTU ??? Thomas Lussnig
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Sheshka @ 2002-09-13 14:35 UTC (permalink / raw)
  To: netfilter

Hi !

I have folowing troble.
Then I'm connecting to pptp server (195.x.x.34)  from Windows2000 box (192.168.15.132) pptp connection dies 
with error message : "The specified port is not connected."
I think this is netfilter problem.

My NAT box has :
iptables v1.2.7a
stock 2.4.19 kernel from ftp.kernel.org with latest patch-o-matic
ip_conntrack_pptp ip_nat_pptp ip_conntrack_proto_gre iptable_nat    propertly loaded

My NAT script:

#!/bin/bash
echo 0 > /proc/sys/net/ipv4/ip_forward
ipt=/usr/local/sbin/iptables
$ipt -p tcp -A PREROUTING -t nat -s 192.168.15.0/24 -d 0/0 --dport 80 -j DNAT --to 212.x.x.170:3128
$ipt -p tcp -A POSTROUTING -t nat -s 192.168.15.0/24 -d 0/0 --dport ! 80 -j SNAT --to 212.x.x.170
echo 1 > /proc/sys/net/ipv4/ip_forward


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-17 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13 14:35 pptp + iptables Alexey Sheshka
2002-09-13 17:00 ` pptp + iptables MTU ??? Thomas Lussnig
2002-09-15 11:11   ` Antony Stone
2002-09-15 13:57     ` Thomas Lussnig
2002-09-15 14:03       ` Antony Stone
2002-09-17 16:40       ` Alistair Tonner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.