Skip to content

Commit

Permalink
Pass ipcp-accept-remote to pppd
Browse files Browse the repository at this point in the history
Since ppp-project/ppp@9fe8923,
pppd refuses to accept a different remote IP if we explictly pass one on
the command line. This results in an error like:

pppd: Peer refused to agree to his IP address

Passing ipcp-accept-remote disables this behavior.

Bug: https://bugs.gentoo.org/907404
  • Loading branch information
floppym authored and DimitriPapadopoulos committed Jun 1, 2023
1 parent 45cb8e0 commit 3b54df0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ static int pppd_run(struct tunnel *tunnel)
":169.254.2.1", // <local_IP_address>:<remote_IP_address>
"noipdefault",
"ipcp-accept-local",
"ipcp-accept-remote",
"noaccomp",
"noauth",
"default-asyncmap",
Expand Down

0 comments on commit 3b54df0

Please sign in to comment.