[pptp-server] Interface problems

George Vieira GeorgeV at citadelcomputer.com.au
Tue Dec 18 17:21:36 CST 2001


Manual,..... what manual..? ;-)

Um, I'm a little lost but you say that you can connect to your pptp server
but can't access the rest of your network internally right?

First thing you must understand is that your PPTPD server is forwardin
packets between eth0 and eth1 so you MUST enabled ip_forwarding. This is
disabled by default on alot of Linux servers (you didn't mention which
distro so we can help).

Second, did you assign an IP on your VPN so the server has the same IP as
the it's eth1 IP? Did you also specify `proxyarp` in your VPNs options file?

This is possibly what you need if I didn't read your email wrongly..


192.168.0.X network
|
|
192.168.0.1 PPTP server (ETH1)
203.x.x.x   PPTP server (ETH0) (VPNIP 192.168.0.1 = same as eth1)
|
|
/
/
|
|
X.X.X.X   PPTP client (VPNIP 192.168.0.XX = valid IP on ETH1 network which
doesn't clash with any other machine)..

I hope this is what you want to achieve...


thanks,
George Vieira
Systems Manager
Citadel Computer Systems P/L


-----Original Message-----
From: Lorentz Morrow [mailto:lorentzm1 at home.com]
Sent: Wednesday, 19 December 2001 10:25 AM
To: pptp-server at lists.schulte.org
Subject: [pptp-server] Interface problems


	If this is a simple or obvious problem I will apologise in advance.
I am 
fairly new to the Linux world. I've got a box at home that is the gateway to

my internal network which runs pptpd.  Eth0 is the outside interface eth1 is

the internal interface.  It works great.  I'm trying to set up pptpd at work

and it's not going so great.  I've got a D-Link router that is the gateway 
there.  It is also a dhcp server.  It always assigns the pptp server's eth0 
192.168.1.4 and directs all traffic for ports 1723 there.  At first I
thought 
that I could just have a single interface and not mess with iptables.  With
a 
single interface I could connect with encryption but could not ping any
other 
IPs on the network.  

	My first question would be... can I use pptpd with a single
interface box? 
and if so how?

	So, I didn't get the single interface setup working, so, I figured
I'd just 
add a second interface and mimic my settings at home.  So, I dropped in eth1

and set it static to 192.168.1.6 and took my same iptables script I use at 
home (got it from home.swbell.net/bezerke/) and plugged in the internal and 
external interface variables and the internal subnet.  It didn't work I get 

iptables v1.2.3 : log-level "info" ambigious try iptables -h or --help

several times in a row.  

	My second question would be what would I need to change to make this
work?

If you get the urge to reply with RTFM please specify which one.

Thank you,
	Lorentz Morrow
_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
--- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list