Re: Handing out Public IPs
James Cameron <[email protected]>
| Newsgroups | gmane.network.poptop |
|---|---|
| Organization | Netrek Vanilla Server Dictator |
| Message-ID | <[email protected]> |
I'm not sure if you mean a Forwarding configuration, or a Proxy configuration. If you mean a Forwarding configuration, where the host running pptpd is to be a router, and you are giving routable IP addresses to the clients in the remoteip option in pptpd.conf then: 1. you must not NAT or MASQUERADE, 2. you must enable ip_forward, 3. there must be a route to these IP addresses that identifies your eth0 as the gateway, 4. any non-routable IP address is valid for localip. If you are attempting a Proxy configuration, where the host running pptpd is effectively a bridge, then: 1. add proxyarp option to /etc/ppp/options.pptpd, 2. do not set a localip option in /etc/pptpd.conf, 3. enable ip_forward. I've never used a configuration which required iptables. -- James Cameron http://quozl.linux.org.au/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev