Re: Outbound IP with aliases
Steve Phillips <[email protected]>
| Newsgroups | gmane.network.poptop |
|---|---|
| Message-ID | <[email protected]> |
Hey AT, I had this exact same problem as well. I'm not 100% certain what it was that actually fixed this, but the following is my pptpd.conf file option /etc/ppp/options.pptpd logwtmp localip 10.101.0.1 remoteip 10.101.0.2-102 listen 100.100.100.100 and options.pptpd name vpn passive refuse-pap refuse-chap refuse-mschap require-mschap-v2 ms-dns 1.1.1.1 ms-dns 2.2.2.2 lock nobsdcomp novj novjccomp nologfd I had a thread that should be in the archives going over this problem along with responses from people on the list. The pptpd is supposed to check to see what port/ip combination was used as the inbound connection and then source responses from that address. This also wasn't happening for me, along with some other weird things, logs and stuff are in the archive. If you DO figure out what's going on I'd quite like to find out as well, but for now yo umay find the above config helps. I had to disable the encryption used with ms-chap-v2 (mppe-128) not due to this problem but as one of my devices doesn't support it :-/ yay samsung ! Obviously change IP addresses to suit. -- Steve. On 18/09/2011 6:21 AM, AT wrote: > Dear experts, > > I have a dedicated server with single eth0 interface and four IPs > bound to it using IP aliases. > Poptop is configured to listen to all available IPs. > > Even though clients can successfully connect to any server IP address > (including ip-aliased addresses) > all the requests to the target servers appear to be going from the > main server IP address. > > I naively expected that if the PPTP client connects to the ip-aliased address > the PPTP server should use the same address for the communication with > the target server. > What should I do to make it work like this? Can this be done with > iptables rules? > > My configuration is pretty much standard. > > /etc/pptpd.conf contents: > localip 192.168.99.1 > remoteip 192.168.99.10-100 > > /etc/ppp/options.pptpd contents > name pptpd > refuse-pap > refuse-chap > refuse-mschap > require-mschap-v2 > require-mppe-128 > ms-dns 208.67.222.222 > ms-dns 208.67.220.220 > debug > dump > lock > nobsdcomp > novj > novjccomp > nologfd > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Poptop-server mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/poptop-server ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Poptop-server mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/poptop-server
smime.p7s
(application/pkcs7-signature, 5 KB) - not displayed