Re: Outbound IP with aliases

AT <[email protected]>
Newsgroups gmane.network.poptop
Message-ID <CAJ5pgsJwty3GRAyd+o4OpvvvFG7xBMMQRBjhRGWgaOYSguM5SA@mail.gmail.com>
AFAIK if you do not specify listen directive poptop will bind to all
available interfaces.
[root@edward ~]# netstat -na|grep 1723
tcp        0      0 0.0.0.0:1723                0.0.0.0:*
     LISTEN
Anyway this is not the problem.

The problem is that if the PPTP client connects to the ip-aliased address
the PPTP server should use the same address for the outbound communication with
the target server.

I am pretty sure it is not implemented in the current version of pptp.
I wonder if it can be done with iptables or routing?


On Sun, Sep 18, 2011 at 4:27 AM, Phillip Davis <[email protected]> wrote:
> You're missing the listen directive in the conf file
>
> listen 192.168.0.1
>
> For example.  I'm not sure if you can listen on all ip's but give it a try
>
> ~Phil
>
>
>
> On Sep 17, 2011, at 2:21 PM, AT <[email protected]> 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&reg; 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&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.