Good for you!
There was a need to connect via L2TP/IPSeс to a remote server. That server, it seems to me, is incorrectly configured, since during an L2TP connection it offers the client its own public address as a remote IP address for my ng interface. Because of this, the IPSec connection becomes broken, because the packets are trying to go through the ng-interface.
Unfortunately, I do not control the server on that side.
But I solved the problem by installing the CentOS and it's native XL2TP-client, which has the option to force the assignment of a specific remote IP address to the PPP interface.
But I do not want to produce extra essence. I have FreeBSD and MPD5 as a VPN server, and I also want to use it as an L2TP client. To do this, I add the line:
But as a result, the ng interface cannot get an IP address at all, and the connection not establishes:
Is the MPD5 client really unable to forcibly assign a remote IP-address to its interface?
There was a need to connect via L2TP/IPSeс to a remote server. That server, it seems to me, is incorrectly configured, since during an L2TP connection it offers the client its own public address as a remote IP address for my ng interface. Because of this, the IPSec connection becomes broken, because the packets are trying to go through the ng-interface.
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1410
inet 10.10.181.222 --> 195.149.70.70 netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Unfortunately, I do not control the server on that side.
But I solved the problem by installing the CentOS and it's native XL2TP-client, which has the option to force the assignment of a specific remote IP address to the PPP interface.
But I do not want to produce extra essence. I have FreeBSD and MPD5 as a VPN server, and I also want to use it as an L2TP client. To do this, I add the line:
set ipcp ranges 0.0.0.0/0 10.10.181.223/32
But as a result, the ng interface cannot get an IP address at all, and the connection not establishes:
IPADDR 195.149.70.70
NAKing with 10.10.0.0
IPCP: not converging
IPCP: parameter negotiation failed
IPCP: state change Ack-Rcvd --> Stopped
Is the MPD5 client really unable to forcibly assign a remote IP-address to its interface?