[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PPTP and IPchains



Hello,

Here is what I'm trying to do. I have a potato distribution 2.2.18pre21. In
my /proc/net I have ip_fwchains, ip_fwnames, ip_masq (ip_masq is a dir with
a few things in it), ip_masquerade.
I think my kernel has what it needs for this to work?

My Debian box has 2 nics. One is public and one is private. I have a
statement for ipchains to allow my computers on the private LAN to see the
Internet through the public interface. It works great, it looks like this:
ipchains -A forward -s 10.5.1.0/24 -i eth0 -j MASQ



I need to be able to make a pptp connection through ipchains

|-------------------------------------------------------|
win2k/pptp client>------|Linux/private>------NAT/IPchains>------Linux
public>|---------->PPTP network server out on the net
|
|
                                     |-------------------Linux
Box--------------------------|

eth0 is public
eth1 is private

I've been reading the how to's and trying many different combinations of
rules but no matter what I try I get the error message on the win2k machine:
"port not connected" or something similar to that.

When I give the win2k/pptp client a public address it connects fine so I'm
fairly sure the win2k client is setup properly

If anyone has this working I'd be grateful for a sample config. or any
suggestions


Thanks,
Mike



Reply to: